|
Lines 88-100
while (my ($itemtype, $description) =$req->fetchrow) {
Link Here
|
| 88 |
itemtypename => $description, |
88 |
itemtypename => $description, |
| 89 |
}; |
89 |
}; |
| 90 |
} |
90 |
} |
| 91 |
my $onlymine = |
|
|
| 92 |
C4::Context->preference('IndependentBranches') |
| 93 |
&& C4::Context->userenv |
| 94 |
&& !C4::Context->IsSuperLibrarian() |
| 95 |
&& C4::Context->userenv->{branch}; |
| 96 |
|
| 97 |
$branchfilter = C4::Context->userenv->{'branch'} if ($onlymine && !$branchfilter); |
| 98 |
|
91 |
|
| 99 |
# Filtering by Patron Attributes |
92 |
# Filtering by Patron Attributes |
| 100 |
# @patron_attr_filter_loop is non empty if there are any patron attribute filters |
93 |
# @patron_attr_filter_loop is non empty if there are any patron attribute filters |