When changing the default input format on the admin >> filters page, hitting the "Set default format" button, correctly changes the default format, but returns the user to the site home page. I believe it should return back to the admin >> filters page.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

RayZ’s picture

Ignore the patch ... it was stolen from this issue. I'd uploaded the patch to a follow-up to that issue, previewed my followup, then submitted this issue in another browser window and it stole the patch from my other upload. Guess you can't work on more than one issue at a time.

RayZ’s picture

Priority: Normal » Critical

IMHO this should be fixed before 4.7 release, so I bumped it to critical. I suspect this issue is a result of this patch: http://drupal.org/node/49799

RayZ’s picture

#2 at http://drupal.org/node/51189 may also be helpful, as I suspect that was caused by the same patch.

kuba.zygmunt’s picture

Status: Active » Needs review
FileSize
1.55 KB

I've changed a little by adding function filter_admin_overview_submit which sets default filter (part of code moved from filter_admin_overview) and proper redirect url.

chx’s picture

Status: Needs review » Reviewed & tested by the community

Nice application of submit.

chx’s picture

Status: Reviewed & tested by the community » Needs work

If http://drupal.org/node/51189 goes in this will need a little work, because the initial problem is cured by that one. This patch however makes use of submit which is always good.

kuba.zygmunt’s picture

FileSize
1.23 KB

a little bit polishing, added submit function (without return smth)

Dries’s picture

Priority: Critical » Normal
Status: Needs work » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)