Skip to content

Kaui 10.21 - #671

Merged
tungleduyxyz merged 5 commits into
masterfrom
kaui_10.21
Oct 20, 2026
Merged

tungleduyxyz merged 5 commits into
masterfrom
kaui_10.21

Conversation

@tungleduyxyz

Copy link
Copy Markdown
Contributor

Update Ruby version to work with Latest ubuntu 26.04

tungleduyxyz and others added 5 commits October 18, 2026 14:59
Clicking a saved advanced search navigated to ?_q=1&name[like]=..., a URL
only the payments/invoices pages understood, so the accounts list showed
every account. Saved searches now use ?advance_search_query=<encoded>, the
same URL the Apply button builds.

Also stop ERB from HTML-escaping the server-rendered advance_search_query
on the accounts page: '&' became '&amp;' and Kill Bill rejected the
search with a SQL syntax error on page load.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
getUrlParams() decoded advance_search_query twice: URLSearchParams.get()
already decodes it, and decodeURIComponent was then applied to values such
as '%test%', which throws "URI malformed". The exception was raised from
the table's draw.dt handler (populateSearchLabelsFromUrl), so DataTables
never hid its processing indicator and the filter pill was never rendered.

Only decode when the query comes from the raw location.search, and fall
back to the raw string if decoding fails.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@tungleduyxyz
tungleduyxyz merged commit c3da194 into master Oct 20, 2026
13 checks passed
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