Skip to content

Conversation

suryatanjung
Copy link

@suryatanjung suryatanjung commented Jul 28, 2025

Fixed filename typo and method name typo

Fixed method name typo
- sort by created_at or visit_count
- defaults to created_at desc
- uses ORDER BY in sql
- falls back to id desc if invalid field
- minor comment typo 'adddress' to 'addres'
- pass to query.link.get() calls
- send to handlebars template
- keeps sort state on htmx requests
- few minor comment typo
- hidden inputs store sort state
- onclick calls sortBy() function
- added sort indicator spans
- hidden inputs store sort state
- onclick calls sortBy() function
- added sort indicator spans
- matches user panel
sortBy() handles column clicks and toggles asc/desc
updateSortIndicators() shows arrows (↑↓)
initializeSortIndicators() runs on page load and htmx updates
resets pagination when sorting changes
sortable columns get pointer cursor and hover effect
sort arrows styled with margin and color
fixed justify-content on .views, .users-links-count, .domains-links-count headers
data cells stay right-aligned
- sort by created_at or links_count
- defaults to created_at desc
- ORDER BY with join count
- fallback to id desc
- sort by created_at or links_count
- defaults to created_at desc
- ORDER BY with join count
- fallback to id desc
- minor comment typo 'adddress' to 'address'
- pass to query.user.getAdmin()
- send to handlebars template
- keeps sort state on htmx requests
- pass to query.domain.getAdmin()
- send to handlebars template
- keeps sort state on htmx requests
- add missing semicolon
- hidden inputs store sort state
- onclick calls sortBy() function
- added sort indicator spans
- hidden inputs store sort state
- onclick calls sortBy() function
- added sort indicator spans
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant