[ic] inactive field

New Media E.M.S. ic_users at newmediaems.com
Mon Apr 26 10:44:49 EDT 2004


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
>interchange-users at icdevgroup.org
>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          edl at newmediaems.com
(916) 961-0446                http://www.newmediaems.com
(866) 519-4680 Toll-Free      (916) 961-0447 Fax
=============================================================== 




More information about the interchange-users mailing list