Bug 20581: (follow-up) Fix dependency requirement
Since this bug is now dependent on Bug 20600 (Provide the ability for users to filter ILL requests) we need to make the status filtering aware of the custom statuses. This patch does that. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
bc05a8a605
commit
c6f98aab5b
|
|
@ -576,9 +576,14 @@
|
|||
prep: function(tableData, oData) {
|
||||
var uniques = {};
|
||||
tableData.forEach(function(row) {
|
||||
var resolvedName = getStatusName(
|
||||
oData[0].capabilities[row.status].name
|
||||
);
|
||||
var resolvedName;
|
||||
if (row.status_alias) {
|
||||
resolvedName = row.status_alias.lib;
|
||||
} else {
|
||||
resolvedName = getStatusName(
|
||||
oData[0].capabilities[row.status].name
|
||||
);
|
||||
}
|
||||
uniques[resolvedName] = 1
|
||||
});
|
||||
Object.keys(uniques).sort().forEach(function(unique) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue