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