I have a search function in my CC listing that works fine.
Let's say I want to search for eg. 'de wolf'. If I insert this (without the '-s), all the records with 'de' and/or 'wolf' are shown. But how can I search only the records with 'de wolf'? I tried to search for "de wolf" (with the "-s) but then nothing is shown.
Yes, "de wolf" should work, with the quotes, you can enable the debug in your connection to check the query or post it here so we can check if it works as expected!
Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
So it works as expected when you use "de wolf", you just need to set the searchable fields to one field only, not all of of them.
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
So this means that if you use the " " , you can only search in one field?
Is this logical?
What if I want to search for "de wolf" in more than one field (the value can either be in 'voornaam', 'achternaam' or 'organisatienaam')?
I agree with you, but the current code will try to match " " strings in ALL fields which is wrong, so a fix will be needed, you can send me a message using the "Contact us" page to get a patch file.
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.