[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Searching- what's next
-----BEGIN PGP SIGNED MESSAGE-----
Just a FYI, on the restrict param. When you pass the paramter, pre-prend
the current cateogory id with the application Id. Ie:
- From c=1.4.5.6, user selects "BIND" which relates to ID# 11. You would
then pass: restrict=1.4.5.6.11
If you only pass 11, you'll get multiple hits, since 11 shows up in
1.4.5.6 and 1.3.6. (You get the idea)
- --
Aaron Turner | Either which way, one half dozen or another.
aturner@pobox.com | http://www.pobox.com/~aturner/
"There is no worse tyranny than to make a man pay for something he does
not want merely because you think it would be good for him."
- -Benjamin Franklin
All emails from this account are PGP signed. Lack of a signature is "bad".
PGP Key fingerprint = FB E1 CE ED 57 E4 AB 80 59 6E 60 BF 45 1B 20 E8
On Mon, 7 Jun 1999, Jason Pincin wrote:
> Yeh... lets do the restrict method you stated. I like that. I'll put
> that in place today unless you get to it first, and I will impliment the
> hidden form field you need as well. (as long as I got it straight).
> Advanced form is next on my plate. I hafta make the application drop down
> dynamic but that'll be simple. That's a few minutes only... talk soon.
>
>
>
> On Sat, Jun 05, 1999 at 02:07:38PM -0700, Aaron Turner wrote:
> >
> > 1) I need to support the "Choose your application" field in the
> > simple.php form. There are two ways to do this:
> >
> > a) simple.php3 passes the category ID to /modperl/search via the restrict
> > parameter
> >
> > b) simple.php3 passes the category name to /modperl/search and mod_perl
> > does the lookup.
> >
> > It seems to me that the first way is better since simple.php3 has to
> > lookup the category ID's for each of the categories anyways, no?
> >
> > 2) simple.php3 needs to pass the category id to advanced.php3 in the link
> > to the advanced form.
> >
> > 3) The advanced form needs to work.
> >
> > Later...
>
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBN1yR+DM3jpXy1kJtAQGxzAP9HBXYX+B1bk+jLsraUpJLn+TQIFewYurW
1ta69WD+PL7n8XiDYqMD0BiAiVuUrSnVRZ5kj0djgtpk1qzOQS32mAOExKOahN3c
dqoioEpEU5VoWrcN6ATFsI3bTHjFBTWHrKG+x0eHXdX/HXG+/3wSasLGqtsPvdVb
dSRj4BT6t7I=
=4OpJ
-----END PGP SIGNATURE-----