---
.../en/modules/labels/pcard-members-search.tmpl | 8 ++++----
labels/pcard-member-search.pl | 1 +
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git
a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/pcard-members-search.tmpl
b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/pcard-members-search.tmpl
index 59bd0d0..944d310 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/pcard-members-search.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/pcard-members-search.tmpl
@@ -92,10 +92,10 @@ function add_item3(borrowernumber){
<table style="float: left; margin: .5em 0;">
<tr>
<th><label for="patron<!-- TMPL_VAR NAME="borrowernumber" -->"
style="font-weight:bold;">Select</label></th>
- <th><a href="pcard-member-search.pl?member=<!--TMPL_VAR Name="member"
-->&orderby=cardnumber">Card</a></th>
- <th><a href="pcard-member-search.pl?member=<!--TMPL_VAR Name="member"
-->&orderby=surname">Name</a></th>
- <th><a href="pcard-member-search.pl?member=<!--TMPL_VAR Name="member"
-->&orderby=borrowers.categorycode">Category</a></th>
- <th><a href="pcard-member-search.pl?member=<!--TMPL_VAR Name="member"
-->&orderby=branchcode">Library</a></th>
+ <th><a href="pcard-member-search.pl?member=<!--TMPL_VAR Name="member"
-->&category=<!--TMPL_VAR Name="category_type" -->&batch_id=<!--
TMPL_VAR NAME="batch_id" -->&orderby=cardnumber">Card</a></th>
+ <th><a href="pcard-member-search.pl?member=<!--TMPL_VAR Name="member"
-->&category=<!--TMPL_VAR Name="category_type" -->&batch_id=<!--
TMPL_VAR NAME="batch_id" -->&orderby=surname">Name</a></th>
+ <th><a href="pcard-member-search.pl?member=<!--TMPL_VAR Name="member"
-->&category=<!--TMPL_VAR Name="category_type" -->&batch_id=<!--
TMPL_VAR NAME="batch_id"
-->&orderby=borrowers.categorycode">Category</a></th>
+ <th><a href="pcard-member-search.pl?member=<!--TMPL_VAR Name="member"
-->&category=<!--TMPL_VAR Name="category_type" -->&batch_id=<!--
TMPL_VAR NAME="batch_id" -->&orderby=branchcode">Library</a></th>
<th>Expires on</th>
<th>Notes</th>
<th></th>
diff --git a/labels/pcard-member-search.pl b/labels/pcard-member-search.pl
index 63a4c51..c4bf28a 100755
--- a/labels/pcard-member-search.pl
+++ b/labels/pcard-member-search.pl
@@ -154,6 +154,7 @@ $template->param(
$template->param(
searching => "1",
member => $member,
+ category_type => $category,
numresults => $count,
resultsloop => \...@resultsdata,
batch_id => $batch_id,
--
1.5.3.7
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches