Bug 29591: Add autorenew_checkouts column to preferences json
authorNick Clemens <nick@bywatersolutions.com>
Tue, 13 Oct 2020 15:42:39 +0000 (15:42 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 4 Jan 2022 06:54:31 +0000 (20:54 -1000)
Bug 24476 added autorenew_checkouts as a borrower column, intending it to be able to be
hidden if a library was not using the feature.

When the column chooser was added, this column was not included.

To test:
1 - Search system preferences for "BorrowerUnwantedFields"
2 - Click the box to change the value
3 - "autorenew_checkouts" is not an option
4 - Confirm that you see the option to opt patron out of autorenewal when editing patron on staff side
5 - Apply patch and restart everythign
6 - Search for the syspref again
7 - Note that now you can select "autorenew_checkouts"
8 - Check the box and save
9 - Confirm the opt out option is no longer visible during patron editing

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/borrowers.json

index 2314097..a15bcaa 100644 (file)
@@ -52,6 +52,7 @@
     "altcontactcountry": "altcontactcountry",
     "altcontactphone": "altcontactphone",
     "smsalertnumber": "smsalertnumber",
+    "autorenew_checkouts": "autorenew_checkouts",
     "primary_contact_method": "primary_contact_method",
     "sort1": "sort1",
     "sort2": "sort2"