Menu

#53 Adv. Search with multiple parameters: param ignored on p. 3

closed-fixed
3
2009-08-09
2009-06-01
No

Go to Advanced Search. In ISFDB Title Search Form, fill in:

Title: good
OR
Title: omen

Click 'Submit Query'. On the page with results, click the link[100-199] at the bottom. On the resulting page click the link [200-299] at the bottom.
Note the URL of the 3rd page: 'http://www.isfdb.org/cgi-bin/edit/ta_search.cgi?title%3Domen+record%3D200' (no reference to 'OR' or 'good'. Note that titles such as 'Good as Gold' or 'Good Friday' are not listed.

Expected: 'Good as Gold' and 'Good Friday' should be listed as they match the original query. All search parameters should be used until the end of the list.

The same bug affects ISFDB Author Search Form (enter 'joe' OR 'mike'; page 3 lists only Mikes) and ISFDB Publication Search Form (enter Titles 'the' OR 'good omens'; page 3 is empty and should be full of titles containing 'the').

Discussion

  • Robert Glowczynski

    • priority: 5 --> 3
    • assigned_to: nobody --> robertgl
     
  • Robert Glowczynski

    Patch to be applied in isfdb2/edit

     
  • Robert Glowczynski

    The patch attached does two thing: (a) escapes spaces in 'AND NOT' operator - this affects all 6 *_search.py files in isfdb2/edit; (b) collects the 'followups' from MakeSQLterm and passes them to the next URL - it was missing the 3 ?a_search.py files.

     
  • Robert Glowczynski

    Properly formatted patch (result of 'cvs diff -u' in isfdb2)

     
  • Ahasuerus

    Ahasuerus - 2009-08-03

    Fixed by committing edit/aa_search.py 1.8, edit/ap_search.py 1.6, edit/pa_search.py 1.7, edit/pp_search.py 1.7, edit/ta_search.py 1.6, edit/tp_search.py 1.6

     
  • Ahasuerus

    Ahasuerus - 2009-08-03
    • status: open --> open-fixed
     
  • Ahasuerus

    Ahasuerus - 2009-08-09

    Implemented in r2009-16.

     
  • Ahasuerus

    Ahasuerus - 2009-08-09
    • status: open-fixed --> closed-fixed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB