]> git.koha-community.org Git - koha.git/commit
Bug 34256: Fix regression from 34092
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Fri, 14 Jul 2023 08:37:27 +0000 (08:37 +0000)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Tue, 18 Jul 2023 15:28:29 +0000 (15:28 +0000)
commit2b48a2714b84edfeb8a5f5bf49761d9f0794374d
tree69bb0c0ea20e2ab4b0281233097df67157b75356
parent7223a78765ba48b877782712f810aae16d55e6e5
Bug 34256: Fix regression from 34092

It appears search_fields variable got lost somewhere in my own rebases.
search_fields variable was not being considered as it should, in the function.
I think this patch fixes it.

This showed in the borrowernumer no longer being searchable:

* Use search filters in patron search
* Set 'Search field' to borrowernumber
* Search for 19 (Henry) or 41 (koha) in sample data
* No results :(
* Apply patch
* Search leads to the patron record again

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit bcabb5d24712b23963c4616efae19e940cf2c544)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 681c635024146ec4f4ca670207f19f6c033b6053)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/js/staff-global.js