Add publishing date (#107)
This commit is contained in:
@@ -12,6 +12,7 @@ SELECT products.productid AS id,
|
||||
products.designerid,
|
||||
products.inserted,
|
||||
products.updated,
|
||||
products.publishing_date,
|
||||
products.ref1,
|
||||
products.ref2,
|
||||
products.ref3,
|
||||
@@ -89,7 +90,7 @@ export function products(input: ProductsFilterInput) {
|
||||
AND products.browsable = ${filter?.browsable ? '1' : '0'}`
|
||||
: ``
|
||||
}
|
||||
ORDER BY products.inserted DESC
|
||||
ORDER BY products.publishing_date DESC
|
||||
LIMIT ${limit} OFFSET ${offset}
|
||||
`
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user