https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39389

Magnus Enger <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #180402|0                           |1
        is obsolete|                            |

--- Comment #3 from Magnus Enger <[email protected]> ---
Created attachment 180570
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180570&action=edit
Bug 39389: Don't stringify the system preference value

This bug is caused by the code that is intended to hide the export column when
disabled failing
because the value of exports_enabled is "0" and not 0

To test:
1 - Checkout an item to a patron
2 - Disable ExportCircHistory
3 - Load the patron's circulation table on the Check Out tab
4 - Notice no export column
5 - Click 'Export' above the table and you can export
6 - Go to the patron's circulation table on the Details tab
7 - The export column shows
8 - Try to export - JS error
9 - Apply patch
10 - Clear local storage in the browser
11 - Repeat 3-6 - no more export column and you can export
12 - Enable ExportCircHistory
13 - Confirm the circ table on both pages hsows the export column and can be
exported
     (You may need to clear local storage again)

Signed-off-by: Magnus Enger <[email protected]>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to