| Summary: | mana_enabled gets set incorrectly | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Sebastian Gamero <sebastian> |
| Component: | Mana-kb | Assignee: | Bugs List <koha-bugs> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | alex.arnaud |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30991 | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
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.
|
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.