Bugzilla – Attachment 127206 Details for
Bug 28959
virtualshelves.category is really a boolean
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28959: Fix occurrence in tools/batch_record_modification.pl
Bug-28959-Fix-occurrence-in-toolsbatchrecordmodifi.patch (text/plain), 1.39 KB, created by
Jonathan Druart
on 2021-11-02 10:41:17 UTC
(
hide
)
Description:
Bug 28959: Fix occurrence in tools/batch_record_modification.pl
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-11-02 10:41:17 UTC
Size:
1.39 KB
patch
obsolete
>From e53335d81533fe1d012d572f66242d7aa3580b7e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 2 Nov 2021 11:39:30 +0100 >Subject: [PATCH] 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. >--- > tools/batch_record_modification.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/tools/batch_record_modification.pl b/tools/batch_record_modification.pl >index f2865ca8795..1aa7df32b41 100755 >--- a/tools/batch_record_modification.pl >+++ b/tools/batch_record_modification.pl >@@ -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 } > ] > ) > ); >-- >2.25.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 28959
:
124619
|
124620
|
124621
|
124622
|
124623
|
124624
|
124625
|
124663
|
124788
|
124799
|
124800
|
124801
|
124802
|
124803
|
124807
|
124808
|
124809
|
124810
|
124811
|
127046
|
127047
|
127048
|
127049
|
127050
|
127059
|
127060
|
127062
|
127142
| 127206 |
128036