Bug 34233: Move select2 include out of patron-search.inc

1. Apply patch
2. Place a hold and make sure the patron pickup locations are
   populating correctly again/
3. Work through the test plan on Bug 28726 to make sure it still works.
4. Enable ArticleRequests, make sure you can still do a patron search
   there.
5. Do a patron search from members.tt, make sure that still works.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit c92c893c12)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 93877a3f8f)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
Lucas Gass 2023-07-07 21:58:55 +00:00 committed by Matt Blenkinsop
parent 9dc601f30c
commit d9b29d5b11
4 changed files with 3 additions and 1 deletions

View file

@ -211,7 +211,6 @@
<script>console.log("Wrong call of patron_search_js - missing redirect_url");</script>
[% END %]
[% INCLUDE 'select2.inc' %]
<script>
let categories = [% To.json(categories) | $raw %].map(e => {
e['_id'] = e.categorycode.toLowerCase();

View file

@ -353,6 +353,7 @@
[% MACRO jsinclude BLOCK %]
[% INCLUDE 'datatables.inc' %]
[% INCLUDE 'select2.inc' %]
<script>
$('#current-article-requests').ready(function() {

View file

@ -136,6 +136,7 @@
[% INCLUDE 'columns_settings.inc' %]
[% INCLUDE 'str/members-menu.inc' %]
[% Asset.js("js/members-menu.js") | $raw %]
[% INCLUDE 'select2.inc' %]
<script>
function showPatronSelections( number ){
$("#patron_search_selected").show().find("span").text(_("Patrons selected: " + number ) );

View file

@ -42,6 +42,7 @@
</div>
[% MACRO jsinclude BLOCK %]
[% INCLUDE 'select2.inc' %]
<script>
$(document).ready(function() {
$("#select_all").on("click",function(e){