]> git.koha-community.org Git - koha.git/commit
Bug 11880: Select what has been selected before
authorJonathan Druart <jonathan.druart@biblibre.com>
Fri, 24 Apr 2015 08:02:19 +0000 (10:02 +0200)
committerMason James <mtj@kohaaloha.com>
Mon, 28 Sep 2015 12:06:09 +0000 (01:06 +1300)
commitf365143c184dfd96fb4bd98dd1873ac3feb26794
tree66d7e0e6d9077c3f318194b2447c20437565141b
parent2e87354a74948e494965ee21e3ab6160c6467b2b
Bug 11880: Select what has been selected before

The previous patch wants to select the barcode option when the user is
on the item search for label, in all cases.
So even if 'title' is selected, a search done, and there is no result,
the barcode index is selected anyway.
In this case, the title option should be kept.

Test plan:
Confirm that the barcode option is the default choice, but other values
are kept if the search does not return any result.

Followed test plan, behaves as expected. Tested with all choices.
Signed-off-by: Marc Veron <veron@veron.ch>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 1f0ff90360c21e5e24df9f455681b1bf4ae92031)
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt
labels/label-item-search.pl