|
Lines 351-359
if (my $search_for_title = C4::Context->preference('OPACSearchForTitleIn')){
Link Here
|
| 351 |
} |
351 |
} |
| 352 |
|
352 |
|
| 353 |
if( C4::Context->preference('ArticleRequests') ) { |
353 |
if( C4::Context->preference('ArticleRequests') ) { |
|
|
354 |
my $itemtype = Koha::ItemTypes->find($biblio->itemtype); |
| 354 |
my $artreqpossible = $patron |
355 |
my $artreqpossible = $patron |
| 355 |
? $biblio->can_article_request( $patron ) |
356 |
? $biblio->can_article_request( $patron ) |
| 356 |
: Koha::ItemTypes->find($biblio->itemtype)->may_article_request; |
357 |
: $itemtype |
|
|
358 |
? $itemtype->may_article_request |
| 359 |
: q{}; |
| 357 |
$template->param( artreqpossible => $artreqpossible ); |
360 |
$template->param( artreqpossible => $artreqpossible ); |
| 358 |
} |
361 |
} |
| 359 |
|
362 |
|
| 360 |
- |
|
|