Bug 36545: Use select2 in item search
authorMichael Skarupianski <michael.skarupianski@gmail.com>
Tue, 9 Apr 2024 14:00:15 +0000 (14:00 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 30 Apr 2024 15:09:54 +0000 (17:09 +0200)
commitb7fa695f68c85004ed86ce3f8baed4007e687dc0
treebe3b6b32332074a5d57410c9c103cb02a248c329
parent822f19d6a4e7e7dff714e9b4fc2d141cf0bcc619
Bug 36545: Use select2 in item search

This patch modifies the multi-select fields in the item search to use
the select2 framework.

To test:
1. Apply patch
2. Go to staff interface -> "Item search"
3. Check item search form and search for
      - Home library
      - Current library
      - Shelving location
      - Item type
      - Collection
      - Status
      - Lost
      - Withdrawn
      - Damaged
4. Search with multiple variations (nothing selected, only one value,
   multiple values, ...) If no value is selected this means that "All"
   values are searched
5. Check that the search is working well

Sponsored-by: Karlsruhe Institute of Technology (KIT)
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt