[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] modify search to ignore hyphens - how to use [filter word]


DB wrote:

Eric Small wrote:
[set mysearch_profile]
   fi=products
   st=text
   ml=25
   so=category
   se=[filter word [cgi searchparam]]
   op=rm
   cs=no
   su=yes
[/set]


I want to do a search for the filtered OR unfilterd search spec and I think that would be easier using Eric's format.


Upon further reflection I think that what I gave you is a security risk. To be safer the line
se=[filter word [cgi searchparam]]
should be
se=[filter word [cgi name=searchparam filter=entities]]

Perhaps this would work or an or search?

os=yes
se=[filter word [cgi name=searchparam filter=entities]]
se=[cgi name=searchparam filter=entities]

I'm not certain that multiple se parameters can be specified, but it's worth a try.

Eric Small
--
Interchange 5.2.0 / Debian 3.0 Stable / PostgreSQL 7.4.1
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.