Bug 14829: Fix shortcuts in the cataloging and patron modules
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 16 Sep 2015 08:01:26 +0000 (09:01 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 2 Oct 2015 18:08:42 +0000 (15:08 -0300)
commit57c88aa5be8aee96c0870330c85d4d727d84c837
tree09de0e0453cf5a9754f072e65aab7de9c9a37553
parent9bdd33de213632168d7b4838fd6d83b5a9db00b8
Bug 14829: Fix shortcuts in the cataloging and patron modules

In these 2 modules, the shortcuts alt+q, alt+r and alt+u don't work as
in other modules.
The tab are not "built" in the correct order and the id returned to
select the correct tab is wrong.

Test plan:
Go on the circ home page (circ/circulation-home.pl), the patron home
page (members/members-home.pl) and the cataloging home page
(cataloguing/addbooks.pl).
On these 3 pages, without this patch, the shortcuts select different
tabs.
With this patch, the issue is fixed for all of them.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc