From b8fe6d7a1b91470d49e8b9f65298eb7c33f21853 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 6 Aug 2008 09:54:42 -0500 Subject: [PATCH] bug 1433: use same bib when adding new subscription from details page When viewing the subscription details page of a bib that already has at least one subscription, clicking on the 'New Subscription' button in the toolbar will fill in the biblionumber and title in the new subscription form. Clicking on the 'New Subscription' button in other context (e.g., when viewing the results of a search) will leave the biblionumber and title fields unpopulated, as there is no specific bib to use. Signed-off-by: Joshua Ferraro --- .../intranet-tmpl/prog/en/includes/serials-toolbar.inc | 6 +++++- serials/subscription-add.pl | 9 +++++++++ serials/subscription-detail.pl | 1 + 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/serials-toolbar.inc index e76211ff30..b7b773c555 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/serials-toolbar.inc @@ -50,7 +50,11 @@ onclick: {fn:function(){popup()}} //]]>