micronutrientsupport / database-architecture

The Postgres database code for the MAPS tool
3 stars 0 forks source link

fix: add ordering to other intervention json views: #350

Closed bgsandan closed 1 year ago

bgsandan commented 1 year ago

General Checklist

bgsandan commented 1 year ago

Closes #333

rbroth commented 1 year ago

Have you tested this with the API?

bgsandan commented 1 year ago

Have you tested this with the API?

Yup. It seems to behave. The main change is just that there were two views that needed an order by, you had found one but not the other :). I added a ASC to yours too which I know isn't strictly necessary but I prefer for clarity when quickly previewing code

rbroth commented 1 year ago

Cool, in that case feel free to merge :)