Work on cleaning up the order by for badges.

This commit is contained in:
Scott Idem
2026-01-05 17:00:00 -05:00
parent e06b407567
commit cdca5d64be
3 changed files with 7 additions and 7 deletions

View File

@@ -90,7 +90,7 @@ This is a list of tasks to be completed before the next event/show/conference.
## Priority Tasks (Easy & Quick)
- [ ] **API:** Properly investigate and fix the `order_by_li` parameter in the `search__event_badge` function. The parameter is currently commented out as a temporary workaround to prevent a network fetch error.
- [x] **API:** Properly investigate and fix the `order_by_li` parameter in the `search__event_badge` function. The parameter is currently commented out as a temporary workaround to prevent a network fetch error.
- [ ] **Formatting:** Run `npm run format` to fix code style issues across the project.
---

View File

@@ -435,9 +435,9 @@ export async function search__event_badge({
limit = 25,
offset = 0,
order_by_li = {
print_count: 'ASC',
priority: 'DESC',
sort: 'DESC',
// print_count: 'ASC',
// priority: 'DESC',
// sort: 'DESC',
given_name: 'ASC',
family_name: 'ASC',
updated_on: 'DESC',

View File

@@ -134,9 +134,9 @@
return { updated_on: 'ASC' };
default:
return {
print_count: 'ASC',
priority: 'DESC',
sort: 'DESC',
// print_count: 'ASC',
// priority: 'DESC',
// sort: 'DESC',
given_name: 'ASC',
family_name: 'ASC',
updated_on: 'DESC',