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 99-105 Link Here
99
            <input type="checkbox" name="important" id="important" value="1" />
99
            <input type="checkbox" name="important" id="important" value="1" />
100
        [% END %]
100
        [% END %]
101
    </li>
101
    </li>
102
    <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>
103
</ol></fieldset> 
102
</ol></fieldset> 
104
    <fieldset class="action">
103
    <fieldset class="action">
105
        <input type="submit" value="Save changes" />
104
        <input type="submit" value="Save changes" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-2 / +1 lines)
Lines 384-390 function AreImportantsNotOk(){ Link Here
384
        [% END %]
384
        [% END %]
385
        [% FOREACH subfield_loo IN innerloo.subfield_loop %]
385
        [% FOREACH subfield_loo IN innerloo.subfield_loop %]
386
            [% IF ( subfield_loo.important ) %]importants.push("[% subfield_loo.id %]");
386
            [% IF ( subfield_loo.important ) %]importants.push("[% subfield_loo.id %]");
387
                tab.push("[% subfield_loo.number %]");
387
                tab.push("[% BIG_LOO.number %]");
388
                label.push("[% subfield_loo.marc_lib %]");
388
                label.push("[% subfield_loo.marc_lib %]");
389
                [% END %]
389
                [% END %]
390
            [% END %]
390
            [% END %]
391
- 

Return to bug 8643