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 (-2 / +3 lines)
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" %]
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