• Joachim Ganseman's avatar
    Bug 9701: Configure default indicator · 031604f5
    Joachim Ganseman authored
    This patch adds the possibility to define default indicators in
    the MARC frameworks. It adds 2 columns in the marc_tag_structure table in
    the database in order to accomplish this. All files that reference this
    table have also been updated to reflect these added fields.
    
    Test: Add or edit a MARC framework. In the Field list should be 2 extra
    columns. It should be possible to add default indicators (1 character)
        in these fields. Nothing else should have changed in the meantime.
        The default indicator values are not yet visible in the cataloguing module.
    
    The default values are also loaded in the cataloguing form.
    
    Test: Define default values in some MARC framework. Go to cataloguing
    and create a new record using this framework. Verify that the defined
    defaults are visible when set. Verify the default is empty (as before)
        if no default was set. Verify that if the default is changed, the
        record is saved with the manually changed value. Verify that upon
        changing such a new record, the manually set indicator value is used
        and not the default one from the framework.
    
    Don't forget to run database and database schema update
    Signed-off-by: 's avatarEugene Jose Espinoza <eugenegf@yahoo.com>
    Signed-off-by: Wm. Nick Clemens's avatarNick Clemens <nick@bywatersolutions.com>
    Signed-off-by: 's avatarMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
    Signed-off-by: joubu's avatarJonathan Druart <jonathan.druart@bugs.koha-community.org>
    031604f5
Biblio.pm 117 KB