Skip to content

Commit

Permalink
redeploying to dev
Browse files Browse the repository at this point in the history
  • Loading branch information
amyfromandi committed Oct 9, 2024
1 parent 088affa commit c5cb252
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion v2/units.ts
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,9 @@ module.exports = function (req, res, next, cb) {
"summarize_measures" in req.query
? "lookup_unit_attrs_api.measure_long"
: "lookup_unit_attrs_api.measure_short";
//TODO add DISTINCT ON (units.id) to output only unique unit objects

var columnList = `
DISTINCT ON (units.id)
units.id AS unit_id,
units_sections.section_id AS section_id,
units_sections.col_id AS col_id,
Expand Down

0 comments on commit c5cb252

Please sign in to comment.