diff --git a/package-lock.json b/package-lock.json index b472ba35..b7d51903 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "treetracker-query-api", - "version": "1.53.2", + "version": "1.54.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "treetracker-query-api", - "version": "1.53.2", + "version": "1.54.0", "license": "GPL-3.0-or-later", "dependencies": { "@sentry/node": "^5.1.0", @@ -20,7 +20,7 @@ "express-validator": "^6.4.0", "joi": "^17.5.0", "knex": "^0.95.14", - "loglevel": "^1.6.8", + "loglevel": "^1.8.0", "pg": "^8.7.1", "rascal": "^14.4.0", "response-time": "^2.3.2", diff --git a/package.json b/package.json index cf948348..0018892f 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "express-validator": "^6.4.0", "joi": "^17.5.0", "knex": "^0.95.14", - "loglevel": "^1.6.8", + "loglevel": "^1.8.0", "pg": "^8.7.1", "rascal": "^14.4.0", "response-time": "^2.3.2", diff --git a/server/models/Organization.ts b/server/models/Organization.ts index eeddb35a..8ed02ab0 100644 --- a/server/models/Organization.ts +++ b/server/models/Organization.ts @@ -26,7 +26,7 @@ function getByFilter( function getOrganizationLinks(organization) { const links = { featured_trees: `/trees?organization_id=${organization.id}&limit=20&offset=0`, - associated_planters: `/planters?organization_id=${organization.id}&limit=20&offset=0`, + associated_planters: `/planters?organization_id=${organization.id}&limit=20&offset=0&order_by=about`, species: `/species?organization_id=${organization.id}&limit=20&offset=0`, }; return links;