|
Lines 195-210
sub get_biblio_marcxml {
Link Here
|
| 195 |
} |
195 |
} |
| 196 |
if ($record) { |
196 |
if ($record) { |
| 197 |
|
197 |
|
| 198 |
#FIXME: Syspref this? |
198 |
my $rules = C4::Context->yaml_preference('OpacHiddenItems') // {}; |
| 199 |
my $hide_record = 1; |
199 |
if ( $biblio->hidden_in_opac( { rules => $rules } ) ) { |
| 200 |
if ($hide_record) { |
200 |
return; |
| 201 |
my $rules = C4::Context->yaml_preference('OpacHiddenItems') // {}; |
|
|
| 202 |
if ( $biblio->hidden_in_opac( { rules => $rules } ) ) { |
| 203 |
return; |
| 204 |
} |
| 205 |
|
| 206 |
#TODO: Also hide record if OpacSuppression is in use |
| 207 |
} |
201 |
} |
|
|
202 |
|
| 203 |
#TODO: Also hide record if OpacSuppression is in use |
| 208 |
} |
204 |
} |
| 209 |
if ( $record && $expanded_avs ) { |
205 |
if ( $record && $expanded_avs ) { |
| 210 |
my $frameworkcode = GetFrameworkCode($biblionumber) || ''; |
206 |
my $frameworkcode = GetFrameworkCode($biblionumber) || ''; |
| 211 |
- |
|
|