Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Sam152 created an issue. See original summary.

Sam152’s picture

Sam152’s picture

Status: Active » Needs review
Sam152’s picture

riddhi.addweb’s picture

Issue tags: +Ajax, +view arguments
qzmenko’s picture

Status: Needs review » Reviewed & tested by the community

I confirm problem with Ajax Views and GET arguments in url. Clicking on "First", "1" links in pager is not working.
Patch testing:

qzmenko’s picture

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 2: 2805539-js-views-arg-2.patch, failed testing. View results

xyxxznpm’s picture

The patch in #2 does not work for me. My case is after using load more button the currentpath=views/ajax, not the real path alias. Continue search.....

ron_s’s picture

Status: Needs work » Needs review
FileSize
767 bytes

The patch in #2 no longer applies cleanly to the latest Views release due to changes in spacing and additional lines.

Have created a new version for review, see attached.

generalredneck’s picture

Status: Needs review » Reviewed & tested by the community

We've been using this on production since November. Simple, elegant and works.

renatog’s picture

Really worked

DamienMcKenna’s picture

Any thoughts on test coverage for this? Are there any chances of regressions from the change?

DamienMcKenna’s picture

FYI the code this changes has existed like this since it was originally written in 2011 in #1294636: Objectify ajax_view.js. Should we be concerned at other uses of Drupal.Views.parseViewArgs()?

DamienMcKenna’s picture

Starting on test coverage.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 15: views-n2805539-15.patch, failed testing. View results