Bug 7338: Follow up: show link only when there is more than 1 subscription
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Mon, 12 Dec 2011 07:39:39 +0000 (08:39 +0100)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 6 Jan 2012 14:10:47 +0000 (15:10 +0100)
commit42265ef21758acd6e44eca3a48ab57529628717c
tree636286ff23a6cd2a685b977fc1ece120fd5ae5b9
parent33587674fa85fabfb6183b37bb8c2733ec2b6d6a
Bug 7338: Follow up: show link only when there is more than 1 subscription

To be tested together with
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6690

1) Create a subscription for a title
- check the link 'Show any subscription...' doesn't show now
- check the serials collection page works correctly and shows all
necessary information

2) Create a second subscription for the same title
- check a new link 'Show any subscription...' shows up now
- use links in the issue table to change between viewing the single subscription
and the overview page
- check it works correctly and all information shows up

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
It works. With this patch, on Serials Collection page, the link, 'See any
subscription attached to this biblio' appears only when there are more than one
subscription attached to the biblio record.
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt
serials/serials-collection.pl