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

(-)a/catalogue/itemsearch.pl (+4 lines)
Lines 102-107 my $itemlost_values = $mss->count ? GetAuthorisedValues($mss->next->authorised_v Link Here
102
$mss = Koha::MarcSubfieldStructures->search({ frameworkcode => '', kohafield => 'items.withdrawn', authorised_value => [ -and => {'!=' => undef }, {'!=' => ''}] });
102
$mss = Koha::MarcSubfieldStructures->search({ frameworkcode => '', kohafield => 'items.withdrawn', authorised_value => [ -and => {'!=' => undef }, {'!=' => ''}] });
103
my $withdrawn_values = $mss->count ? GetAuthorisedValues($mss->next->authorised_value) : [];
103
my $withdrawn_values = $mss->count ? GetAuthorisedValues($mss->next->authorised_value) : [];
104
104
105
if ( Koha::MarcSubfieldStructures->search( { frameworkcode => '', kohafield => 'items.new_status' } )->count ) {
106
    $template->param( has_new_status => 1 );
107
}
108
105
if (scalar keys %params > 0) {
109
if (scalar keys %params > 0) {
106
    # Parameters given, it's a search
110
    # Parameters given, it's a search
107
111
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt (-3 / +4 lines)
Lines 90-96 Link Here
90
[% END %]
90
[% END %]
91
91
92
[% BLOCK form_field_radio_yes_no %]
92
[% BLOCK form_field_radio_yes_no %]
93
  <div class="form-field">
93
  <div class="form-field [% divclass | html %]">
94
    <label class="form-field-label">[% INCLUDE form_label label=name %]:</label>
94
    <label class="form-field-label">[% INCLUDE form_label label=name %]:</label>
95
    <input type="radio" name="[% name | html %]" id="[% name | html %]_indifferent" value="" checked="checked"/>
95
    <input type="radio" name="[% name | html %]" id="[% name | html %]_indifferent" value="" checked="checked"/>
96
    <label for="[% name | html %]_indifferent">Ignore</label>
96
    <label for="[% name | html %]_indifferent">Ignore</label>
Lines 195-201 Link Here
195
              <span class="hint">(inclusive)</span>
195
              <span class="hint">(inclusive)</span>
196
            </div>
196
            </div>
197
            [% INCLUDE form_field_radio_yes_no name="damaged" %]
197
            [% INCLUDE form_field_radio_yes_no name="damaged" %]
198
            [% INCLUDE form_field_radio_yes_no name="new_status" %]
198
            [% IF ( has_new_status ) %]
199
                [% INCLUDE form_field_radio_yes_no name="new_status" divclass='item-new-status' %]
200
            [% END %]
199
            <div class="form-field">
201
            <div class="form-field">
200
              <label class="form-field-label" for="issues_op">Checkout count:</label>
202
              <label class="form-field-label" for="issues_op">Checkout count:</label>
201
              <select id="issues_op" name="issues_op">
203
              <select id="issues_op" name="issues_op">
202
- 

Return to bug 26032