Changeset 9c87509 for database/drizzle/queries/components.ts
- Timestamp:
- 12/28/25 00:09:30 (7 months ago)
- Branches:
- main
- Children:
- a932c9e
- Parents:
- e599341
- git-author:
- Tome <gjorgievtome@…> (12/28/25 00:09:09)
- git-committer:
- Tome <gjorgievtome@…> (12/28/25 00:09:30)
- File:
-
- 1 edited
-
database/drizzle/queries/components.ts (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
database/drizzle/queries/components.ts
re599341 r9c87509 28 28 case 'price_asc': 29 29 sortConditions.push( 30 asc( buildsTable.totalPrice)30 asc(componentsTable.price) 31 31 ); 32 32 break; 33 33 case 'price_desc': 34 34 sortConditions.push( 35 desc( buildsTable.totalPrice)35 desc(componentsTable.price) 36 36 ); 37 37 break; 38 38 default: 39 39 sortConditions.push( 40 desc( buildsTable.createdAt)40 desc(componentsTable.price) 41 41 ); 42 42 break;
Note:
See TracChangeset
for help on using the changeset viewer.
