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

(-)a/koha-tmpl/intranet-tmpl/prog/js/holds.js (-9 / +2 lines)
Lines 1320-1331 async function load_patron_holds_table(biblio_id, split_data) { Link Here
1320
                    targets: [2, 3],
1320
                    targets: [2, 3],
1321
                    className: "dt-body-nowrap",
1321
                    className: "dt-body-nowrap",
1322
                },
1322
                },
1323
                {
1324
                    targets: [3, 9],
1325
                    visible: CAN_user_reserveforothers_modify_holds_priority
1326
                        ? true
1327
                        : false,
1328
                },
1329
            ],
1323
            ],
1330
            columns: [
1324
            columns: [
1331
                {
1325
                {
Lines 1460-1466 async function load_patron_holds_table(biblio_id, split_data) { Link Here
1460
                    orderable: false,
1454
                    orderable: false,
1461
                    searchable: false,
1455
                    searchable: false,
1462
                    render: function (data, type, row, meta) {
1456
                    render: function (data, type, row, meta) {
1463
                        if (row.status) {
1457
                        if (row.status || !CAN_user_reserveforothers_modify_holds_priority) {
1464
                            return null;
1458
                            return null;
1465
                        }
1459
                        }
1466
                        let buttons =
1460
                        let buttons =
Lines 1679-1685 async function load_patron_holds_table(biblio_id, split_data) { Link Here
1679
                    orderable: false,
1673
                    orderable: false,
1680
                    searchable: false,
1674
                    searchable: false,
1681
                    render: function (data, type, row, meta) {
1675
                    render: function (data, type, row, meta) {
1682
                        if (row.status) {
1676
                        if (row.status || !CAN_user_reserveforothers_modify_holds_priority) {
1683
                            return null;
1677
                            return null;
1684
                        } else {
1678
                        } else {
1685
                            if (row.lowest_priority) {
1679
                            if (row.lowest_priority) {
1686
- 

Return to bug 23269