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

(-)a/admin/columns_settings.yml (-2 / +2 lines)
Lines 230-236 modules: Link Here
230
        -
230
        -
231
          columnname: item_type
231
          columnname: item_type
232
        -
232
        -
233
          columnname: collection_code
233
          columnname: collection
234
        -
234
        -
235
          columnname: location
235
          columnname: location
236
        -
236
        -
Lines 387-393 modules: Link Here
387
        -
387
        -
388
          columnname: item_type
388
          columnname: item_type
389
        -
389
        -
390
          columnname: collection_code
390
          columnname: collection
391
        -
391
        -
392
          columnname: location
392
          columnname: location
393
        -
393
        -
(-)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 590-596 $(document).ready(function() { Link Here
590
                        "sType": "anti-the"
590
                        "sType": "anti-the"
591
                    },
591
                    },
592
                    { "mDataProp": "itemtype" },
592
                    { "mDataProp": "itemtype" },
593
                    { "mDataProp": "ccode" },
593
                    { "mDataProp": "collection" },
594
                    { "mDataProp": "location" },
594
                    { "mDataProp": "location" },
595
                    { "mDataProp": "issuedate_formatted" },
595
                    { "mDataProp": "issuedate_formatted" },
596
                    { "mDataProp": "branchname" },
596
                    { "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