[Koha-bugs] [Bug 11399] batch Rebuild Items Tables

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 17 12:50:56 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11399

stephane.delaune at biblibre.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #23575|0                           |1
        is obsolete|                            |

--- Comment #5 from stephane.delaune at biblibre.com ---
Created attachment 23593
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23593&action=edit
proposed patch

new patch (only change git description and script help message).

to test it : 

create a test item (eg on biblionumber 3) with a non mapped subfield with a
test value.
check real items DB row ( SELECT * from items where biblionumber=3 ) => non
mapped value is in more_subfields_xml
map the non mapped subfield with unused items column
re-check in Db that nothing changes
run ./batchRebuildItemsTables.pl -c --where 'biblio.biblionumber=3'
check real items DB row ( SELECT * from items where biblionumber=3 ) => new
mapped value is not in more_subfields_xml anymore but in the mapped column

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list