Search anomaly aaarrgghh!
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 33199
interpreted = N
texte = OK, I'll admit it! I'm a bit vague when it comes to search criteria, but I could certainly use some help :-/I've got a VERY simple 3 field database (SKU, subject, text).My search page has the option to search the two text fields, or to do a Find All.My results page (results.tpl) has the following Search context at the top of the page.[search db=imagine_tech.db&[formvariables name=_&exact=F][getchars start=2][name][/getchars]=[url][value][/url]&[/formvariables]startat=[url][startat][/url]&max=10]This works fine for the search EXCEPT for the following.I have a [shownext] command at the bottom of the results.tpl page which is supposed to show the next group of records if there are more than 10 records returned (my set maximum).[shownext]
Show Items [start]-[end][/shownext]But, It doesn't return anything when I click on this link....!If I add this geSKUdata=2 to the search context making the following:[search db=imagine_tech.db&[formvariables name=_&exact=F][getchars start=2][name][/getchars]=[url][value][/url]&[/formvariables]startat=[url][startat][/url]&max=10&geSKUdata=2]... then the [shownext] link work PERFECTLY, BUT, then an ordinary text search doesn't work at all! It simply does a Find All.... What is going on?I hope I've explained myself properly.Any help or explanation greatly appreciated.Regards,TimTim RobinsonArt Directorimagine onlinetim@imagine.au.comhttp://www.imagine.au.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
OK, I'll admit it! I'm a bit vague when it comes to search criteria, but I could certainly use some help :-/I've got a VERY simple 3 field database (SKU, subject, text).My search page has the option to search the two text fields, or to do a Find All.My results page (results.tpl) has the following Search context at the top of the page.[search db=imagine_tech.db&[formvariables name=_&exact=F][getchars start=2][name][/getchars]=[url][value][/url]&[/formvariables]startat=[url][startat][/url]&max=10]This works fine for the search EXCEPT for the following.I have a [shownext] command at the bottom of the results.tpl page which is supposed to show the next group of records if there are more than 10 records returned (my set maximum).[shownext][cart]&startat=[start]>Show Items [start]-[end]
[/shownext]But, It doesn't return anything when I click on this link....!If I add this geSKUdata=2 to the search context making the following:[search db=imagine_tech.db&[formvariables name=_&exact=F][getchars start=2][name][/getchars]=[url][value][/url]&[/formvariables]startat=[url][startat][/url]&max=10&geSKUdata=2]... then the [shownext] link work PERFECTLY, BUT, then an ordinary text search doesn't work at all! It simply does a Find All.... What is going on?I hope I've explained myself properly.Any help or explanation greatly appreciated.Regards,TimTim RobinsonArt Directorimagine onlinetim@imagine.au.comhttp://www.imagine.au.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Tim Robinson
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
policies, slightly OT (2004)
Format of Required fields error message (1997)
updating with ProductEditor (1998)
Orderfile (2005)
upgrading (1997)
WebCat2 - [format thousands] (1997)
Variable in a variable (2002)
[WebDNA] How to test whether JPEG file is valid in WebDNA? (2011)
please stop this!!!! (2000)
numfound=0 for a search after going into the SSL (2003)
[random] only for 1-100??? (1997)
Re:PCS Customer submissions ? (1997)
Multiple security dbs (1997)
different show next (1997)
Multiple Stores and WebCatalog Prefs (1997)
Running 2 two WebCatalog.acgi's (1996)
shell problems again... (2003)
Deleting Orders (1997)
Searching multiple fields from one form field (1997)
Chat Area (2000)