Bugzilla – Attachment 57443 Details for
Bug 17420
record export fails when itemtype on biblio
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17420 - record export fails when itemtype on biblio - followup
Bug-17420---record-export-fails-when-itemtype-on-b.patch (text/plain), 1.30 KB, created by
Marcel de Rooy
on 2016-11-11 07:28:20 UTC
(
hide
)
Description:
Bug 17420 - record export fails when itemtype on biblio - followup
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2016-11-11 07:28:20 UTC
Size:
1.30 KB
patch
obsolete
>From a4fa554c9108fcc7f3aef1a10a509154a9abd8b7 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Mon, 7 Nov 2016 16:07:01 +0100 >Subject: [PATCH] Bug 17420 - record export fails when itemtype on biblio - > followup >Content-Type: text/plain; charset=utf-8 > >Same as previous patch for misc/export_records.pl. > >Test plan : >- Use syspref item-level_itypes = biblio record >- Run misc/export_records.pl >=> Without patch you get an error : DBD::mysql::st execute failed: Unknown column 'biblioitems.itemtype' in 'where clause' ... >=> With patch you get a correct export file > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Export Ok, no errors. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > misc/export_records.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/export_records.pl b/misc/export_records.pl >index 34b4da3..2bb553d 100755 >--- a/misc/export_records.pl >+++ b/misc/export_records.pl >@@ -144,7 +144,7 @@ if ( $record_type eq 'bibs' ) { > ? > C4::Context->preference('item-level_itypes') > ? ( 'items.itype' => $itemtype ) >- : ( 'biblioitems.itemtype' => $itemtype ) >+ : ( 'me.itemtype' => $itemtype ) > : () > ), > >-- >2.1.4
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 17420
:
56117
|
56118
|
57269
|
57405
|
57406
|
57442
| 57443