When contents of view is loaded by AJAX (sorting, paging) then current language is used, not admin language.

Screenshots:

  1. http://prntscr.com/4yxc0s
  2. http://prntscr.com/4yxbkk
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rafenden’s picture

rafenden’s picture

Status: Active » Needs review
FileSize
2.18 KB

Added latest fix.

heddn’s picture

Version: 7.x-1.0-beta1 » 7.x-1.x-dev
FileSize
1.13 KB

No interdiff since this uses an entirely different approach.

sumthief’s picture

Patch #3 is working for me.

sumthief’s picture

Status: Needs review » Reviewed & tested by the community

  • wulff committed e3ef352 on 7.x-1.x authored by heddn
    Issue #2362361 by heddn: Views reloaded by AJAX are ignoring admin...
wulff’s picture

Status: Reviewed & tested by the community » Fixed

I have applied the patch from #3. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

ParisLiakos’s picture

Status: Closed (fixed) » Needs work

This fix is only working for paths that are in hook_admin_paths()
The paths from module's admin settings page are ignored..$_REQUEST['view_path'] should also be checked against them

Liam Morland’s picture

Status: Needs work » Fixed

If this is still an issue, please make a child ticket.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.