Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Tomas Cohen Arazi 1c0b7bf01f
Bug 31274: Make sure OPACSuggestionAutoFill is handled as a boolean everywhere
The YAML preference definition defines it as a string ('yes' or 'no' the
possible values). And the opac-suggestions.tt template has one occurence
of the variable being compared to a string.

This patch does:
- fix the template
- fixes opac.pref for 0|1
- adds an atomicupdate that takes care of moving 'yes' and 'no' to their
  respective boolean values.

To test:
1. Change the syspref value to enable/disable
2. Check on the DB that the value is wrong:
   $ koha-mysql kohadev
   > SELECT value FROM systempreferences WHERE variable='OPACSuggestionAutoFill';
=> FAIL: It is either 'yes' or 'no' depending on what you choose.
3. Apply this patch
4. Run:
   $ updatedatabase
5. Repeat 2
=> SUCCESS: Values are now 0 or 1
6. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-02 09:29:08 -03:00
..
acqui Bug 30389: Switch to Bootstrap tabs on the page for adding orders from MARC file 2022-07-29 16:09:45 -03:00
admin Bug 31274: Make sure OPACSuggestionAutoFill is handled as a boolean everywhere 2022-08-02 09:29:08 -03:00
authorities Bug 30936: (follow-up) Add markup comments 2022-06-25 11:22:51 -03:00
basket Bug 30733: Split strings differently 2022-06-17 10:16:44 -03:00
batch
catalogue Bug 30858: (follow-up) Add enumchron to CSV export and fix CSS class 2022-07-22 14:49:19 -03:00
cataloguing Bug 24857: Add ability to set item group when adding a new item 2022-07-08 16:00:07 -03:00
circ Bug 30964: (QA follow-up) Add classes to allow for additional styling 2022-08-01 09:37:10 -03:00
clubs Bug 30733: Simplify translatable strings 2022-06-17 10:16:34 -03:00
course_reserves Bug 30578: Remove circ/ysearch.pl in favor of the /patrons REST API route 2022-07-18 11:01:34 -03:00
errors
ill Bug 29648: (follow-up) Add missing raw filter 2022-04-27 11:20:45 -10:00
installer Bug 27631: installer and onboarding folders 2022-04-20 09:03:37 -10:00
labels Bug 30763: fixes spelling of 'proceeds' 2022-07-08 15:20:25 -03:00
mana
members Bug 31229: (bug 30063 follow-up) fix column visibility 2022-07-26 09:10:59 -03:00
offline_circ Bug 27631: offline_circ, patroncards, plugins, pos, reserve, rotating_collections folders 2022-04-20 09:03:38 -10:00
onboarding Bug 27631: installer and onboarding folders 2022-04-20 09:03:37 -10:00
patron_lists Bug 29648: patron list table - normal 2022-04-27 11:20:44 -10:00
patroncards Bug 28864: Have patron card creator use PatronsPerPage 2022-08-01 09:53:24 -03:00
plugins Bug 27631: offline_circ, patroncards, plugins, pos, reserve, rotating_collections folders 2022-04-20 09:03:38 -10:00
pos Bug 31121: Fix date formatting in cashup summary modal 2022-07-22 14:48:43 -03:00
recalls Bug 30722: Typo in overdue recalls template 2022-05-09 10:02:35 -10:00
reports Bug 26486: Group edit buttons in reports toolbar 2022-06-27 12:32:24 -03:00
reserve Bug 31086: Prevent placing hold with no pickup location 2022-07-22 14:19:17 -03:00
reviews Bug 30733: Simplify translatable strings 2022-06-17 10:16:34 -03:00
rotating_collections Bug 30733: Simplify translatable strings 2022-06-17 10:16:34 -03:00
serials Bug 30658: (bug 29496 follow-up) CheckMandatorySubfields don't work properly with select field in serials-edit.tt for Supplemental issue 2022-08-01 09:20:49 -03:00
services
suggestion Bug 23991: Don't display empty div if no suggestions exist 2022-07-06 11:20:45 -03:00
tags Bug 30733: Simplify translatable strings 2022-06-17 10:16:34 -03:00
test
tools Bug 31269: Define sDefaultContent for DataTables 2022-08-01 09:18:00 -03:00
virtualshelves Bug 25498: (follow-up) Change for autocomplete change of 30578 2022-07-19 11:25:26 -03:00
about.tt Bug 30650: Add dayjs license to the about page 2022-07-29 15:01:50 -03:00
auth.tt Bug 30733: Simplify translatable strings 2022-06-17 10:16:34 -03:00
intranet-main.tt Bug 30650: Fix some typos 2022-07-29 15:01:45 -03:00