When you write a backend, you usually write some <action>.inc template files that are used to render forms, views, etc. It would be great if 'select2.inc' was included on ill-requests.tt so backend authors can use it easily.
Created attachment 131238 [details] [review] Bug 30212: Make Select2 available for ILL backends This patch makes select2 available for ILL backend developers to use on their templates. To test: 1. Have a configured backed and an ILL request 2. Open the inspector and load any action on the backend (intranet) => FAIL: no select2 asset is transfered from Koha to the browser 3. Apply this patch 4. Reload => SUCCESS: There's select2 5. Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This trivial patch can be cherry-picked down to 20.11 (at least).
Created attachment 131339 [details] [review] Bug 30212: Make Select2 available for ILL backends This patch makes select2 available for ILL backend developers to use on their templates. To test: 1. Have a configured backed and an ILL request 2. Open the inspector and load any action on the backend (intranet) => FAIL: no select2 asset is transfered from Koha to the browser 3. Apply this patch 4. Reload => SUCCESS: There's select2 5. Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Super trivial, works, PQA
Pushed to master for 22.05, thanks to everybody involved [U+1F984]
Pushed to 21.11.x for 21.11.05
Pushed to 21.05.x for 21.05.15
Backported: Pushed to 20.11.x branch for 20.11.19
Does this need to be backported to 19.11.x?