Revert "Add publishing date (#107)" (#108)

This commit is contained in:
Anders Gustafsson
2022-03-11 09:19:07 +01:00
committed by GitHub
parent cf6b1fd56e
commit b1da0b547e
8 changed files with 4051 additions and 4166 deletions
+1 -2
View File
@@ -12,7 +12,6 @@ SELECT products.productid AS id,
products.designerid,
products.inserted,
products.updated,
products.publishing_date,
products.ref1,
products.ref2,
products.ref3,
@@ -90,7 +89,7 @@ export function products(input: ProductsFilterInput) {
AND products.browsable = ${filter?.browsable ? '1' : '0'}`
: ``
}
ORDER BY products.publishing_date DESC
ORDER BY products.inserted DESC
LIMIT ${limit} OFFSET ${offset}
`
);