sub _prepare_bookbag_container_query {
my ($self, $container_id, $sorter, $modifier) = @_;
+ # The #staff modifier here just makes sure that we never get bib records
+ # hidden in bookbags because of OPAC visibility concerns. It's not
+ # actually got anything to do with the staff client in this case.
return sprintf(
- "container(bre,bookbag,%d,%s)%s%s",
+ "container(bre,bookbag,%d,%s)%s%s #staff",
$container_id, $self->editor->authtoken,
($sorter ? " sort($sorter)" : ""),
($modifier ? "#$modifier" : "")