Skip to content

Commit 8bf0367

Browse files
stephanielearytmccanna
authored andcommitted
LP2087870 Transit destination shortname
Shows the holds transit source and destination org units' shortnames rather than IDs. Release-note: Shows the holds transit source and destination org units' shortnames rather than IDs. Signed-off-by: Stephanie Leary <[email protected]> Signed-off-by: Susan Morrison <[email protected]> Signed-off-by: Terran McCanna <[email protected]>
1 parent 3b308bb commit 8bf0367

File tree

1 file changed

+2
-0
lines changed
  • Open-ILS/web/js/ui/default/staff/circ/patron

1 file changed

+2
-0
lines changed

Open-ILS/web/js/ui/default/staff/circ/patron/holds.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ function($scope, $q, $routeParams, egCore, egUser, patronSvc,
210210
} else {
211211
// egProgressDialog.increment();
212212
var new_item = { id : hold_data.id, hold : hold_data };
213+
new_item.hold.tr_source = egCore.org.get(new_item.hold.tr_source)?.shortname();
214+
new_item.hold.tr_dest = egCore.org.get(new_item.hold.tr_dest)?.shortname();
213215
new_item.status_string =
214216
egCore.strings['HOLD_STATUS_' + hold_data.hold_status]
215217
|| hold_data.hold_status;

0 commit comments

Comments
 (0)