Bug 28959: Fix occurrence in tools/batch_record_modification.pl

No method count found for Koha::Virtualshelves DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st execute failed: Unknown column 'category' in 'where clause' at /kohadevbox/koha/Koha/Objects.pm line 601                                                                                                                                                                             at /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt line 80.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2021-11-02 11:39:30 +01:00
parent 20991feb62
commit 145b26a272
1 changed files with 2 additions and 2 deletions

View File

@ -84,8 +84,8 @@ if ( $op eq 'form' ) {
view => 'form',
lists => scalar Koha::Virtualshelves->search(
[
{ category => 1, owner => $loggedinuser },
{ category => 2 }
{ public => 0, owner => $loggedinuser },
{ public => 1 }
]
)
);