[Koha-bugs] [Bug 28959] virtualshelves.category is really a boolean
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Sep 7 18:39:52 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28959
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #124621|0 |1
is obsolete| |
--- Comment #6 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 124624
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=124624&action=edit
Bug 28959: Add virtualshelves.public as a boolean
This patchset moves the 'category' attribute for virtual shelves, that
takes values of 1 and 2 (private and public respectively) into a boolean
for public.
The DBRev is trivial, and the changes to the code are as well.
To test:
1. have some known public and private lists
2. Apply this patches
3. Run:
$ updatedatabase
=> SUCCESS: Public lists have public=1, private have public=0
4. Run:
$ kshell
k$ prove t/db_dependent/Utils/Datatables_Virtualshelves.t \
t/db_dependent/Virtualshelves.t
=> SUCCESS: Tests pass!
5. Try the feature in staff and OPAC
=> SUCCESS: All good
6. Sign off :-D
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list