View | Details | Raw Unified | Return to bug 8643
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug-8643-add_important_constraint.sql (-1 / +1 lines)
Lines 1-5 Link Here
1
ALTER TABLE marc_subfield_structure ADD COLUMN important TINYINT(4) NOT NULL DEFAULT 0  AFTER mandatory;
1
ALTER TABLE marc_subfield_structure ADD COLUMN important TINYINT(4) NOT NULL DEFAULT 0  AFTER mandatory;
2
ALTER TABLE marc_tag_structure ADD COLUMN important TINYINT(4) NOT NULL DEFAULT 0  AFTER frameworkcode;
2
ALTER TABLE marc_tag_structure ADD COLUMN important TINYINT(4) NOT NULL DEFAULT 0  AFTER mandatory;
3
3
4
-- $DBversion = "3.23.00.XXX";
4
-- $DBversion = "3.23.00.XXX";
5
-- if ( CheckVersion($DBversion) ) {
5
-- if ( CheckVersion($DBversion) ) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt (-1 lines)
Lines 92-98 Link Here
92
            <input type="checkbox" name="important" id="important" value="1" />
92
            <input type="checkbox" name="important" id="important" value="1" />
93
        [% END %]
93
        [% END %]
94
    </li>
94
    </li>
95
    <li><label for="authorised_value">Authorized value: </label>[% authorised_value %] (if you select a value here, the indicators will be limited to the authorized value list)</li>
96
</ol></fieldset> 
95
</ol></fieldset> 
97
    <fieldset class="action">
96
    <fieldset class="action">
98
        <input type="submit" value="Save changes" />
97
        <input type="submit" value="Save changes" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-2 / +1 lines)
Lines 377-383 function AreImportantsNotOk(){ Link Here
377
        [% END %]
377
        [% END %]
378
        [% FOREACH subfield_loo IN innerloo.subfield_loop %]
378
        [% FOREACH subfield_loo IN innerloo.subfield_loop %]
379
            [% IF ( subfield_loo.important ) %]importants.push("[% subfield_loo.id %]");
379
            [% IF ( subfield_loo.important ) %]importants.push("[% subfield_loo.id %]");
380
                tab.push("[% subfield_loo.number %]");
380
                tab.push("[% BIG_LOO.number %]");
381
                label.push("[% subfield_loo.marc_lib %]");
381
                label.push("[% subfield_loo.marc_lib %]");
382
                [% END %]
382
                [% END %]
383
            [% END %]
383
            [% END %]
384
- 

Return to bug 8643