- Posts: 146
- Thank you received: 11
Event Filter should trim leading trailing spaces
- Stephan Hodges
- Topic Author
- Offline
- Premium Member
-
Less
More
10 years 10 months ago #63647
by Stephan Hodges
Event Filter should trim leading trailing spaces was created by Stephan Hodges
When I don't use a filter (upcoming events, past hidden), it shows an event "Massage for Cancer Survivors".
I put this phrase "Massage for Cancer Survivors " into the filter field and then it said there were no events. (In fact, there are 8 event records with this title)
I noticed that I had an extra space at the end when I pasted into the filter (which I put in the pasted value above). When I remove the trailing space, all 8 events show up correctly
I believe you should be trimming leading and trailing spaces from the filter expression before applying it.
I put this phrase "Massage for Cancer Survivors " into the filter field and then it said there were no events. (In fact, there are 8 event records with this title)
I noticed that I had an extra space at the end when I pasted into the filter (which I put in the pasted value above). When I remove the trailing space, all 8 events show up correctly
I believe you should be trimming leading and trailing spaces from the filter expression before applying it.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
10 years 10 months ago #63661
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Event Filter should trim leading trailing spaces
I agree. Will modify code and update the download package with this modification later today
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.