Comment 7 for bug 325982

Revision history for this message
Eleanor Berger (intellectronica) wrote : Re: [Bug 325982] Re: Search URL is long and hard to paste

2009/9/11 Deryck Hodge <email address hidden>:

> I think it's fairly easy to do a JavaScript fix, either before
> submitting the form or on the URL afterwards to make the URL shorter,
> and we could do this now.  It's still a valuable fix, even if it has to
> be updated after future changes to default search params.

The Javascript fix is easy to do indeed. The problem, if i understand
correctly, is not that the code will have to be updated if the form
changes, but that saved URLs will become obsolete if the form changes.
In the past we always tried to make it so saved URLs retain their
semantics even when we change the form and people are relying on that
to save searches. If we removed enumerated fields that are set to
their default value, we will never be able to change the default value
without rendering search URLs with these fields omitted incorrect.