[OPEN-ILS-DEV] Back button creates double search rows

Bill Ott bott at grpl.org
Mon Jul 20 08:36:23 EDT 2009


Mike Rylander said the following on 07/15/2009 08:21 PM:
> The advanced search form, being (partly) static, gets populated by the
> browser when you hit back (that's the first set).  However, the code
> also parses the URL to populate the search form when coming from a
> basic search result.  Thus, double- (or triple-) population.  As for a
> fix, there are a couple ways I can think of, but none are what I'd
> call Good(tm).  We could conditionally clear the search form if we're
> using url data, or built the form dynamically ...
>   


This is a bit of a Kludge(tm), but this seems to do the trick.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: adv_global.patch
Type: text/x-patch
Size: 637 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20090720/50947be3/attachment.bin 


More information about the Open-ils-dev mailing list