[Bug 30569] New: mana_enabled gets set incorrectly
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30569 Bug ID: 30569 Summary: mana_enabled gets set incorrectly Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Mana-kb Assignee: koha-bugs@lists.koha-community.org Reporter: sebastian@imcode.com CC: alex.arnaud@biblibre.com In /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/sv-SE/modules/serials/subscription-add.tt:509 This row: var mana_enabled = [% IF (Koha.Preference('Mana') == 1 && mana_url) %]1[% ELSE %][% END %]; Should be: var mana_enabled = [% IF (Koha.Preference('Mana') == 1 && mana_url) %]1[% ELSE %]0[% END %]; like it is in the english version. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30569 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- This has already been fixed in the most current versions: [%- IF (Koha.Preference('Mana') == 1 && mana_url) -%] var mana_enabled = 1; [%- ELSE -%] var mana_enabled = 0; [%- END -%] var BOOKSELLER_IDS = [% To.json( bookseller_ids ) || '[]' | html %]; I am closing as RESOLVED FIXED. If you are using a maintained version (21.05 and above) and still have this issue, please reopen. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30569 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=30991 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org