MythTV / mythtv

The official MythTV repository
https://www.mythtv.org
GNU General Public License v2.0
699 stars 343 forks source link

New Web App Recordings Title Filter Is Missing A Trim #917

Open mymatenige opened 2 weeks ago

mymatenige commented 2 weeks ago

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.