http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11213

--- Comment #12 from Srdjan Jankovic <[email protected]> ---
(In reply to M. Tompsett from comment #11)
> Because I'm worried you are breaking the hiding functionality with this
> patch. I don't see any changes which reflect moving the exclusion from one
> place to another.

diff --git a/C4/XSLT.pm b/C4/XSLT.pm
index d85b048..0fde9dc 100644
--- a/C4/XSLT.pm
+++ b/C4/XSLT.pm
@@ -156,8 +156,17 @@ sub _get_best_default_xslt_filename {
     return $xslfilename;
 }

+=head2 XSLTParse4Display( $biblionumber, $orig_record, $xslsyspref, $items,
$fixamps )
+
+  $items => an array of items rerords, as returned from eg. GetItemsInfo
+
+Returns XSLT block
+
+=cut
+
 sub XSLTParse4Display {
-    my ( $biblionumber, $orig_record, $xslsyspref, $fixamps, $hidden_items ) =
@_;
+    my ( $biblionumber, $orig_record, $xslsyspref, $items, $fixamps ) = @_;
+
     my $xslfilename = C4::Context->preference($xslsyspref);
     if ( $xslfilename =~ /^\s*"?default"?\s*$/i ) {
         my $htdocs;

Exclusion list ($hidden_items) is dropped in favour of inclusiuon list ($items)

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to