Bug 18181: Can't tell which subscriptions already have a routing list if seeing all...
authorAleisha Amohia <aleishaamohia@hotmail.com>
Tue, 28 Feb 2017 02:20:01 +0000 (02:20 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 31 Mar 2017 13:51:12 +0000 (13:51 +0000)
commit305c804ec95b4c15e12f1bae16f0f4c0b338bcb5
treea9f9df6ca7d07336ba565c437a0e5fbd601518f6
parent85f52d52e7fc77d6635321523e77a45a69081289
Bug 18181: Can't tell which subscriptions already have a routing list if seeing all subs attached to a biblio

To test:
1) Go to Serials -> search for a subscription
2) Add a new routing list for a subscription
3) After saving, you should be redirected to the subscription detail
page
4) Click Serial collection on the left sidebar menu
5) Notice there is a button that says 'Edit routing list' next to this
subscription in the first table
6) Click 'See any subscription attached to this biblio' link
7) Notice it no longer says edit next to this subscription, it says
'Create routing list'
8) Apply patch and refresh page
9) Should now show 'Edit' button like expected

Sponsored-by: Catalyst IT

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
serials/serials-collection.pl