Page MenuHomePhabricator

Frontend form doesn't remember settings
Closed, ResolvedPublic

Description

A relatively simple bug.

When looking up te global usage of a file there's basicly 2 options (3 if you count the filename itself).

"Do not show local usage" (filterlocal), and "number of items per page" (limit).

The bug is then when you do one, the other is forgotten on submit.
So:

  • John checks GlobalUsage on "Wiki-commons.png"
  • clicks "500" (auto-submits), John sees 500 uses per page => &limit=500
  • John ticks "Do not show local usage" and hits Submit =>&filterlocal=1
  • Output limit jumps back to the default 50.

and visa versa (if you tick the checkbox first and submit and pick a limit-number, the checkbox is unchecked (undefined) again.)

I guess the solution is pretty simple ;-)

Krinkle


Version: unspecified
Severity: normal
URL: http://commons.wikimedia.org/wiki/Special:GlobalUsage/Wiki-commons.png

Details

Reference
bz22395

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:51 PM
bzimport set Reference to bz22395.

Bryan.TongMinh wrote:

Fixed in r62074

Gilles raised the priority of this task from Medium to Unbreak Now!.Dec 4 2014, 10:12 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Medium.Dec 4 2014, 11:21 AM