Bug 17420 - record export fails when itemtype on biblio - followup
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> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
37256b4d2d
commit
8630e83ed1
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ if ( $record_type eq 'bibs' ) {
|
|||
?
|
||||
C4::Context->preference('item-level_itypes')
|
||||
? ( 'items.itype' => $itemtype )
|
||||
: ( 'biblioitems.itemtype' => $itemtype )
|
||||
: ( 'me.itemtype' => $itemtype )
|
||||
: ()
|
||||
),
|
||||
|
||||
|
|
Loading…
Reference in a new issue