@@ -, +, @@
- Fix wrong link in message in case there are no requests batch
- Detail of batch update - View status of any request within a batch
- Fix typo to correctly display status code on batch statuses list
---
.../prog/en/includes/ill-batch-modal.inc | 1 +
.../prog/en/modules/admin/ill_batch_statuses.tt | 4 ++--
koha-tmpl/intranet-tmpl/prog/js/ill-batch-modal.js | 12 +++++++++++-
3 files changed, 14 insertions(+), 3 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-batch-modal.inc
+++ a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-batch-modal.inc
@@ -74,6 +74,7 @@
Identifier value |
Metadata |
Request ID |
+ Request Status |
|
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/ill_batch_statuses.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/ill_batch_statuses.tt
@@ -132,7 +132,7 @@
[% FOREACH status IN statuses %]
[% status.name | html %] |
- [% name.code | html %] |
+ [% status.code | html %] |
[% status.is_system ? "Yes" : "No" | html %] |
Edit
@@ -146,7 +146,7 @@
[% ELSE %]
[% END %]
[% END %]
--- a/koha-tmpl/intranet-tmpl/prog/js/ill-batch-modal.js
+++ a/koha-tmpl/intranet-tmpl/prog/js/ill-batch-modal.js
@@ -299,6 +299,7 @@
tableContent.data = tableContent.data.map(function (row) {
if (row.value === identifier) {
row.requestId = data.illrequest_id;
+ row.requestStatus = data.status;
}
return row;
});
@@ -893,6 +894,10 @@
return data.requestId || '-';
}
+ function createRequestStatus(x, y, data) {
+ return data.requestStatus || '-';
+ }
+
function buildTable(identifiers) {
table = KohaTable('identifier-table', {
processing: true,
@@ -918,9 +923,14 @@
},
{
data: 'requestId',
- width: '13%',
+ width: '6.5%',
render: createRequestId
},
+ {
+ data: 'requestStatus',
+ width: '6.5%',
+ render: createRequestStatus
+ },
{
width: '18%',
render: createActions,
--
|