Changeset 9c87509 for database


Ignore:
Timestamp:
12/28/25 00:09:30 (7 months ago)
Author:
Tome <gjorgievtome@…>
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)
Message:

Fix some issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • database/drizzle/queries/components.ts

    re599341 r9c87509  
    2828        case 'price_asc':
    2929            sortConditions.push(
    30                 asc(buildsTable.totalPrice)
     30                asc(componentsTable.price)
    3131            );
    3232            break;
    3333        case 'price_desc':
    3434            sortConditions.push(
    35                 desc(buildsTable.totalPrice)
     35                desc(componentsTable.price)
    3636            );
    3737            break;
    3838        default:
    3939            sortConditions.push(
    40                 desc(buildsTable.createdAt)
     40                desc(componentsTable.price)
    4141            );
    4242            break;
Note: See TracChangeset for help on using the changeset viewer.