ZenphotoCMS Forum
Searching Numbers - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Searching Numbers (/thread-10325.html)



Searching Numbers - joshrodgers - 2012-08-22

I am using the following to display search terms: getSearchWords()

I have noticed that when the term is alphabetical I don't get quotations around my word, but if the term is numerical there are quotations around my word.

Just curious why numbers and letters would return different.

Thanks,
Josh




Searching Numbers - sbillard - 2012-08-23

Can't really remember why, but certainly that is eplicitly done for numbers.




Searching Numbers - joshrodgers - 2012-08-23

lol, yeah, it's not a big deal...just thought it was interesting.

Thanks,
Josh




Searching Numbers - joshrodgers - 2012-08-23

I wanted to remove the quotation marks around the numbers in my search results...so, I did the following:

``

That's it...quotation marks removed!!

NOTE: This will remove all quotation marks within the string, not just around the numbers, but it worked for me

Just thought I'd share what I did...it might help others.

Thanks,
Josh