From 0ddd42ed558136222cf6dd78dd55ac22969c7566 Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Mon, 6 Feb 2017 14:09:52 +0000 Subject: [PATCH] Bug 17047 - Don't show action column (use link) on mana search page --- .../prog/en/includes/mana-subscription-search-result.inc | 12 +++++++++--- serials/serials-search.pl | 3 ++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/mana-subscription-search-result.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/mana-subscription-search-result.inc index acaadec..4ce9b9b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/mana-subscription-search-result.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/mana-subscription-search-result.inc @@ -8,7 +8,9 @@ Numbering pattern Number of users Last Import - Actions + [% UNLESS search_only %] + Actions + [% END %] @@ -19,7 +21,9 @@ - + [% UNLESS search_only %] + + [% END %] @@ -32,7 +36,9 @@ [% IF ( subscription.numberingmethod ) %][% subscription.numberingmethod %][% END %] [% IF ( subscription.nbofusers ) %][% subscription.nbofusers %][% END %] [% subscription.lastimport | $KohaDates %] - Use + [% UNLESS search_only %] + Use + [% END %] [% END %] [% END %] diff --git a/serials/serials-search.pl b/serials/serials-search.pl index 70486b2..d6cb85c 100755 --- a/serials/serials-search.pl +++ b/serials/serials-search.pl @@ -142,7 +142,8 @@ if ($mana) { additional_field_filters => $additional_field_filters, additional_fields_for_subscription => $additional_fields, marcflavour => (uc(C4::Context->preference("marcflavour"))), - mana => $mana + mana => $mana, + search_only => 1 ); } else -- 2.7.4