|
Mailing Lists
|
Home /
Groups /
Spectra-Talk
Bug in cfa typesearch, plus fix
Author: Derek Westfall
Short Link: http://www.houseoffusion.com/groups/spectra-talk/thread.cfm/threadid:1830#5600
Since spectrasource.macromedia.com went away I don't know where to report
these things anymore.
I'm running 1.5.2. on Win2K.
Cfa_typesearch does not limit r_lObjectIDs to the types specified by
attributes.lTypes. Only the r_qresults and r_stResults are limited.
This is working for me (replace line 132 with this:)
<!--- Search --->
<cfsearch collection="#lCollectionNames#" name="qResults0" type="SIMPLE"
criteria="#attributes.searchTerms#">
<!--- type filter mod --->
<cfquery dbtype="query" name="qResults">
select * from qResults0
where custom1 in (#listqualify(attributes.ltypes,"'")#)
</cfquery>
You can also remove the type checking done on line 166.
|
June 19, 2013
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||