Bug 30576: (follow-up) Corrections to behaviour to reflect unit tests
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 22 Apr 2022 14:19:29 +0000 (15:19 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 28 Apr 2022 20:49:20 +0000 (10:49 -1000)
commit83bd88e04085330b6596901f13b8ef3e6553bc7e
tree4d5026708afedaa1bcbd13438ce569f36d5f3cd9
parenta54646ff69a8ce954c12e5b9608117357501a4fb
Bug 30576: (follow-up) Corrections to behaviour to reflect unit tests

The unit tests highlighted my original patch didn't cover the full
preference description.

We now replace the 'standard' option with the fields from the preference
and we also add those fields as options to the field selection in
advanced searches.

This patch also adjusts the tests to test for that and reflects the
expected changes to the number of options displayed in the select boxes.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-header.inc
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc
t/db_dependent/selenium/patrons_search.t