}
templ DtReload(url, hxTarget string, q interface{}) {
}
// Sort TH table
//
// URL: Where the URL to get the results is
// HxTarget: Where the results will be displayed
// Title: The title of the column
// ExpectedSort: The expected sort, used to determine the sort direction indicator
// SortBy: The current sort by
// SortDir: The current sort direction
// Q: The current query
templ DtThSort(url, hxTarget, title, expectedSort, sortBy, sortDir string, q interface{}) {
if expectedSort == sortBy && sortDir== "asc" {
{ title } ▾
} else if expectedSort == sortBy && sortDir== "desc" {