[ic] two searches on one page

Grant interchange-users@icdevgroup.org
Wed Aug 28 22:20:03 2002


I solved this problem by switching my first search to a loop search.  Here's
part of the code I have inside the loop search:

[data table="products" field="unavailable" key="[loop-code]" value="1"]

Now I just need to figure out how to keep that value ("1") from showing up
on the page itself.  Anyone?

- Grant


OLD:

I have two search regions on one page, and they don't seem to be getting
along.  Is two on one page allowed?

My code is basically laid out like this:

[search-region
search="co=yes/sf=category/se=Posters/op=eq/nu=0/sf=inactive/se=1/op=!=/nu=1
"]
[search-list]
NON-DISPLAY CODE MANIPULATION
[/search-list]
[/search-region]

[search-region more=1
search="co=yes/ml=9/tf=notes/sf=category/se=Posters/op=eq/nu=0/sf=inactive/s
e=1/op=!=/nu=1"]
[search-list]
DISPLAY RESULTS
[/search-list]
[/search-region]

The first search region doesn't have a sort field, and the second one does.
The displayed results which should be coming from the second search region's
search parameters aren't sorted unless I comment out the first search region
entirely.  What could be the problem?

- Grant