Skip to content

Commit

Permalink
Updated child locations to only active locations
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfred-Mutai committed Nov 1, 2024
1 parent 5dd166a commit d1190f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/facility-mappings/facility-mapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var defs = {
return new Promise((resolve, reject) => {
let queryParts = {};
let sql =
'select location_id,name,description,uuid from amrs.location where parent_location = ' +
'select location_id,name,description,uuid from amrs.location where retired = 0 && parent_location = ' +
params.parentId +
'';
queryParts = {
Expand Down

0 comments on commit d1190f2

Please sign in to comment.