Koha/installer/data/mysql
Nick Clemens c5dd70001f Bug 34557: Add SCOLoadCheckoutsByDefault system preference
This patch adds a enw system preference SCOLoadCheckoutsByDefault

When enabled, a patron's list o fcurrent checkouts will be loaded when the sign in to the SCO
module. If disabled, they will see link to load their checkouts. In either case, a new section
is added to the SCO to show a brief display of the last checked out it

To test:
1 - Enable WebBasedSelfCheck system preference
2 - Browse to:
    http://localhost:8080/cgi-bin/koha/sco/sco-main.pl
3 - Sign in the SCO user (or enable AutoSelfCheck)
4 - Sign in as a user with several items checked out
5 - Confirm you see a list of items checked out
6 - Apply patches, updatedatabase, restart_all
7 - 'Finish' and login patron to SCO again
8 - Confirm you still see the list
9 - 'Finish'
10 - Chenge the system preference
11 - Sign in to SCO, confirm checkouts do not load
12 - Confirm you see 'Load your checkouts' link
13 - Check an item out
14 - Confirm you see the last checkout, but not a list
15 - Attempt to checkout an item that cannot be checked out
16 - Confirm "Return to account summary" does not load checkouts
17 - Click "Load your checkouts"
18 - Confirm they load
19 - Check out another item, confrim they remain and are updated
20 - Checkout an item that cannot be issued
21 - Confirm 'Return to account summary' loads the checkouts again

Signed-off-by: Andrew Auld <andrew.auld@ptfs-europe.com>
Signed-off-by: AndrewA <andrew.auld@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 8c801ea132)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2023-11-10 10:52:35 -10:00
..
atomicupdate Bug 34557: Add SCOLoadCheckoutsByDefault system preference 2023-11-10 10:52:35 -10:00
db_revs Bug 35190: DBRev 23.06.00.062 2023-11-09 20:54:36 -10:00
en Bug 35187: Fix missing line breaks in WELCOME notice 2023-11-10 10:46:02 -10:00
localization Bug 34558: Update custom.sql for it-IT webinstaller 2023-10-09 09:18:24 -10:00
mandatory Bug 34557: Add SCOLoadCheckoutsByDefault system preference 2023-11-10 10:52:35 -10:00
backfill_statistics.pl
fix_unclosed_nonaccruing_fines_bug17135.pl
kohastructure.sql Bug 35190: Set default NULL for authorised_value_category in additional_fields table 2023-11-09 20:53:00 -10:00
labels_upgrade.pl
patroncards_upgrade.pl
update22to30.pl
updatedatabase.pl Bug 34685: Make updatedatabase.pl propagate the error 2023-09-08 09:27:46 -10:00