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

(-)a/admin/columns_settings.yml (-2 / +2 lines)
Lines 252-258 modules: Link Here
252
        -
252
        -
253
          columnname: item_type
253
          columnname: item_type
254
        -
254
        -
255
          columnname: collection_code
255
          columnname: collection
256
        -
256
        -
257
          columnname: location
257
          columnname: location
258
        -
258
        -
Lines 409-415 modules: Link Here
409
        -
409
        -
410
          columnname: item_type
410
          columnname: item_type
411
        -
411
        -
412
          columnname: collection_code
412
          columnname: collection
413
        -
413
        -
414
          columnname: location
414
          columnname: location
415
        -
415
        -
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc (-1 / +1 lines)
Lines 16-22 Link Here
16
                        <th scope="col">Due date</th>
16
                        <th scope="col">Due date</th>
17
                        <th scope="col">Title</th>
17
                        <th scope="col">Title</th>
18
                        <th scope="col">Item type</th>
18
                        <th scope="col">Item type</th>
19
                        <th scope="col">Collection code</th>
19
                        <th scope="col">Collection</th>
20
                        <th scope="col">Location</th>
20
                        <th scope="col">Location</th>
21
                        <th scope="col">Home library</th>
21
                        <th scope="col">Home library</th>
22
                        <th scope="col">Checked out on</th>
22
                        <th scope="col">Checked out on</th>
(-)a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js (-2 / +2 lines)
Lines 291-297 $(document).ready(function() { Link Here
291
                    "sType": "anti-the"
291
                    "sType": "anti-the"
292
                },
292
                },
293
                { "mDataProp": "itemtype_description" },
293
                { "mDataProp": "itemtype_description" },
294
                { "mDataProp": "ccode" },
294
                { "mDataProp": "collection" },
295
                { "mDataProp": "location" },
295
                { "mDataProp": "location" },
296
                { "mDataProp": "homebranch" },
296
                { "mDataProp": "homebranch" },
297
                { "mDataProp": "issuedate_formatted" },
297
                { "mDataProp": "issuedate_formatted" },
Lines 608-614 $(document).ready(function() { Link Here
608
                        "sType": "anti-the"
608
                        "sType": "anti-the"
609
                    },
609
                    },
610
                    { "mDataProp": "itemtype" },
610
                    { "mDataProp": "itemtype" },
611
                    { "mDataProp": "ccode" },
611
                    { "mDataProp": "collection" },
612
                    { "mDataProp": "location" },
612
                    { "mDataProp": "location" },
613
                    { "mDataProp": "issuedate_formatted" },
613
                    { "mDataProp": "issuedate_formatted" },
614
                    { "mDataProp": "branchname" },
614
                    { "mDataProp": "branchname" },
(-)a/svc/checkouts (-3 / +7 lines)
Lines 90-96 my $sql = ' Link Here
90
        items.itype,
90
        items.itype,
91
        biblioitems.itemtype,
91
        biblioitems.itemtype,
92
92
93
        items.ccode,
93
        items.ccode AS collection,
94
94
95
        borrowernumber,
95
        borrowernumber,
96
        surname,
96
        surname,
Lines 156-161 while ( my $c = $sth->fetchrow_hashref() ) { Link Here
156
        my $av = Koha::AuthorisedValues->search({ category => 'LOC', authorised_value => $c->{location} });
156
        my $av = Koha::AuthorisedValues->search({ category => 'LOC', authorised_value => $c->{location} });
157
        $location = $av->count ? $av->next->lib : '';
157
        $location = $av->count ? $av->next->lib : '';
158
    }
158
    }
159
    my $collection;
160
    if ( $c->{collection} ) {
161
        my $av = Koha::AuthorisedValues->search({ category => 'CCODE', authorised_value => $c->{collection} });
162
        $collection = $av->count ? $av->next->lib : '';
163
    }
159
    my $lost;
164
    my $lost;
160
    if ( $c->{itemlost} ) {
165
    if ( $c->{itemlost} ) {
161
        my $av = Koha::AuthorisedValues->search({ category => 'LOST', authorised_value => $c->{itemlost} });
166
        my $av = Koha::AuthorisedValues->search({ category => 'LOST', authorised_value => $c->{itemlost} });
Lines 173-179 while ( my $c = $sth->fetchrow_hashref() ) { Link Here
173
        barcode              => $c->{barcode},
178
        barcode              => $c->{barcode},
174
        itemtype             => $item_level_itypes ? $c->{itype} : $c->{itemtype},
179
        itemtype             => $item_level_itypes ? $c->{itype} : $c->{itemtype},
175
        itemtype_description => $itemtype ? $itemtype->translated_description : q{},
180
        itemtype_description => $itemtype ? $itemtype->translated_description : q{},
176
        ccode                => $c->{ccode},
181
        collection           => $collection,
177
        location             => $location,
182
        location             => $location,
178
        homebranch           => $c->{homebranch},
183
        homebranch           => $c->{homebranch},
179
        itemnotes            => $c->{itemnotes},
184
        itemnotes            => $c->{itemnotes},
180
- 

Return to bug 19719