@@ -, +, @@
of the following snippets in the OPACISBD system preference,
depending on your MARC flavour:
MARC21:
#952|
Items
Copy number | Shelving
location | Koha item type | Barcode | Call number
(Full call number) | Materials specified (bound volume or
other part) | |{952t} | {952c} | {952y}
| {952p} | {952o} | {9523} |
|
UNIMARC:
#995|
Items
Copy number | Shelving
location | Koha collection | Barcode | Call number
(Full call number) | Numbering (volume or other part) | |
{9956} | {995e} | {995h} | {995f}
| {995k} | {995l} |
|
Switch to the OPAC ISBD view for your biblio; notice how it does
not display item information.
information as per the OPACISBD system preference setting.
---
opac/opac-ISBDdetail.pl | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
--- a/opac/opac-ISBDdetail.pl
+++ a/opac/opac-ISBDdetail.pl
@@ -99,13 +99,15 @@ unless ( $patron and $patron->category->override_hidden_items ) {
}
my $record = $biblio->metadata->record;
+my @items = grep { !$_->hidden_in_opac({ rules => $opachiddenitems_rules }) } @{$biblio->items->as_list} ;
my $marcflavour = C4::Context->preference("marcflavour");
my $record_processor = Koha::RecordProcessor->new({
- filters => 'ViewPolicy',
+ filters => [ 'ViewPolicy', 'EmbedItems' ],
options => {
interface => 'opac',
- frameworkcode => $biblio->frameworkcode
+ frameworkcode => $biblio->frameworkcode,
+ items => \@items
}
});
$record_processor->process($record);
--