]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 28 Aug 2015 13:09:02 +0000 (10:09 -0300)
commit1f0ff90360c21e5e24df9f455681b1bf4ae92031
tree4e8aa7ae71dc8b50883fdce4d65c67bd83d9a4d9
parent15338b7cd5247f900ce4363059a14d3d60333002
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>
koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt
labels/label-item-search.pl