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

(-)a/installer/data/mysql/updatedatabase.pl (+9 lines)
Lines 9585-9590 if ( CheckVersion($DBversion) ) { Link Here
9585
    SetVersion ($DBversion);
9585
    SetVersion ($DBversion);
9586
}
9586
}
9587
9587
9588
$DBversion = "3.19.00.XXX";
9589
if ( CheckVersion($DBversion) ) {
9590
    $dbh->do(q|
9591
        UPDATE suggestions SET branchcode="" WHERE branchcode="__ANY__"
9592
    |);
9593
    print "upgrade to $DBversion done (Bug 10753: replace __ANY__ with empty string in suggestions.branchcode)\n";
9594
    SetVersion ($DBversion);
9595
}
9596
9588
=head1 FUNCTIONS
9597
=head1 FUNCTIONS
9589
9598
9590
=head2 TableExists($table)
9599
=head2 TableExists($table)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt (-2 / +1 lines)
Lines 419-425 h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o Link Here
419
    <fieldset class="rows"> <legend>Acquisition information</legend><ol>
419
    <fieldset class="rows"> <legend>Acquisition information</legend><ol>
420
        <li><label for="branchcode">Library:</label>
420
        <li><label for="branchcode">Library:</label>
421
            <select name="branchcode" id="branchcode">
421
            <select name="branchcode" id="branchcode">
422
                <option value="__ANY__">Any</option>[% FOREACH branchloo IN branchloop %]
422
                <option value="">Any</option>[% FOREACH branchloo IN branchloop %]
423
                [% IF ( branchloo.selected ) %]<option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option>[% ELSE %]<option value="[% branchloo.value %]">[% branchloo.branchname %]</option>[% END %][% END %]
423
                [% IF ( branchloo.selected ) %]<option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option>[% ELSE %]<option value="[% branchloo.value %]">[% branchloo.branchname %]</option>[% END %][% END %]
424
            </select>
424
            </select>
425
        </li>
425
        </li>
426
- 

Return to bug 10753