Bug 16745 - Add edit catalog and edit items links to serials toolbar
commit8dbb79564f63b92506a09f19e8300e272b04e366
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 15 Jun 2016 12:21:26 +0000 (15 12:21 +0000)
committerFrédéric Demians <f.demians@tamil.fr>
Mon, 1 Aug 2016 08:17:19 +0000 (1 10:17 +0200)
tree4dd6dc53decd474b4cbc42376c8f53a8d9937f26
parentd09b015e973c799cc392327484f3cc485a60ece2
Bug 16745 - Add edit catalog and edit items links to serials toolbar

It would be very helpful for librarians to have links directly to the
record and items editor from a serial. Right now moving from the serial
to those editors requires jumping through a number of pages.

Test Plan:
1) Apply this patch
2) Browse subscription-detail.pl for a given serial
3) Under the Edit button, note the "Edit record" link
4) Verify the link takes you to the marc editor for that record
5) Create or find a serial that is set to create items on receiving
6) Under the Edit button, note the new "Edit items" link
7) Verify the link takes you to the items editor for that record
8) Create of find a serial that is *not* set to create items on receiving
9) Verify the "Edit items" link does not exists for that serial

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit db52dfed0168a5a120d07e4599af688269162461)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/includes/serials-toolbar.inc