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

Re: [ic] inactive field


At 03:17 AM 4/26/2004 -0700, you wrote:

hello all

I am trying to filter items I have set to inactive
from being displayed during a category search.  I am
using interchange 4.9.8.  The amdin page code to set
the value of the inactive field in the database looks
like:

<select name="inactive" class="s3"><option value=""
SELECTED>No<option value="1">Yes</select>

This sets the value to "" if the item is set to
Active, meaning inactive="no".

Thus all active items in the db have nothing set in
that field.  I would expect this value to be set to
zero.

Anyways, I am using the following code to try and
display all the active items in the category
accessories in the db:

[page search="
   sf=category
   se=Accessories

   sf=inactive
   se=1
   op=ne
"]

This needs to be a coordinated search:

[page search="
   co=yes
   sf=category
   se=Accessories
   op=eq
   sf=inactive
   se=1
   op=ne
"]

- Ed


Instead of displaying the active items, the search
above displays all the INACTIVE items instead.  I
found this on some posting about the inactive field in
the archive.  I have gone through all the postings I
could find in the archives but none worked for me so I
decided to post to the list.  Does anyone have any
suggestions on what else I could try.

Thank you.

Aboubacar.




__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users

===============================================================
New Media E.M.S.              Technology Solutions for Business
11630 Fair Oaks Blvd., #250   eCommerce | Consulting | Hosting
Fair Oaks, CA  95628          suppressed
(916) 961-0446                http://www.newmediaems.com
(866) 519-4680 Toll-Free      (916) 961-0447 Fax
===============================================================

_______________________________________________
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.