New Web App Recordings Title Filter Is Missing A Trim
mymatenige opened this issue · 0 comments
mymatenige commented
- Platform:
Linux pvr.grufty.co.uk 6.8.11-300.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 27 14:53:33 UTC 2024 x86_64 GNU/Linux
- MythTV version:
fixes/34
- Package version:
N/A
- Component:
new web app
What steps will reproduce the bug?
Open the web app
Go to Recordings
Enter the full title of an available recording in the Title box with a space on the end
Hit Enter
How often does it reproduce? Is there a required condition?
Always
What is the expected behaviour?
The title that is entered in the Title box is trimmed for the search
The search returns results
What do you see instead?
The title that is entered in the Title box is not trimmed for the search
The search does not return results
Additional information
This can be solved by changing all three FilterMatchMode uses of "event.filters.Title.value" in mythtv/html/backend/src/app/dashboard/recordings/recordings.component.ts with "event.filters.Title.value.trim()" however I am not sure if that is the preferred route.