BugzillaJS icon indicating copy to clipboard operation
BugzillaJS copied to clipboard

Instant "Remember Search"

Open gkoberger opened this issue 14 years ago • 3 comments

Here's the code:

$('.bz_query_remember form').submit(function() { var url = $(this).attr('action'); $.post(url, $(this).serializeArray()); return false; });

gkoberger avatar Nov 29 '11 23:11 gkoberger

It looks like Remember Search needs a name, what's the feature behind this code?

rik avatar Mar 03 '13 23:03 rik

I'm pretty sure @fwenzel wanted this? I wrote the code and never actually added it.

The point was that if you searched/filtered/etc for something, there could be a one-click "Save to my remembered searches" button (as opposed to it submitting to a new page).

gkoberger avatar Mar 04 '13 00:03 gkoberger

Nope, not me, I think. Or perhaps I just don't remember anymore.

That said, looks like replacing the built-in POST with the call above would be benign.

fwenzel avatar Mar 04 '13 01:03 fwenzel