House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  Spectra-Talk

Bug in cfa typesearch, plus fix

  << Previous Post |  RSS |  Subscribe to this Group Next >> 

Bug in cfa_typesearch, plus fix

Since spectrasource.macromedia.com went away I don't know where to report Derek Westfall 03/29/2004 07:14 PM

03/29/2004 07:14 PM
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.
<< Previous Thread Today's Threads Next Thread >>

Search spectra-talk

June 19, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
             1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30             

Designer, Developer and mobile workflow conference