Koha/svc
Tomas Cohen Arazi 0c72031539 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

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-10-28 17:47:38 +02:00
..
cataloguing Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
club Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
config Bug 29056: Remove the demo functionality leftovers 2021-09-28 15:12:45 +02:00
hold Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
letters Bug 17600: Fix imports for svc/letters/preview 2021-10-21 09:56:29 +02:00
mana Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
members Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
records Bug 14957: Fix record preview 2021-10-26 16:46:03 +02:00
virtualshelves Bug 28959: Add virtualshelves.public as a boolean 2021-10-28 17:47:38 +02:00
article_request Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
authentication
authorised_values Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
barcode Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
bib Bug 17600: Fix other occurrences in svc 2021-07-26 16:41:07 +02:00
bib_framework Bug 28750: fix svc/bib_framework 2021-07-26 16:28:52 +02:00
bib_profile
checkin Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
checkout_notes Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
checkouts Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
convert_report
cover_images Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
creator_batches Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
holds Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
import_bib Bug 17600: Fix other occurrences in svc 2021-07-26 16:41:07 +02:00
localization
new_bib
problem_reports Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
renew Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
report Bug 17600: Fix other occurrences in svc 2021-07-26 16:41:07 +02:00
return_claims Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
split_callnumbers