Skip to content
Snippets Groups Projects

Issue #3163299 against 9.5.x: Ajax exposed filters not working for multiple instances of the same Views block placed on one page

Open Issue #3163299 against 9.5.x: Ajax exposed filters not working for multiple instances of the same Views block placed on one page
2 unresolved threads
2 unresolved threads

Merge request reports

Members who can merge are allowed to add commits.
Approval is optional
Ready to merge by members who can write to the target branch.
  • The source branch is 31 commits behind the target branch.
  • 1 commit will be added to 9.5.x.
  • Source branch will not be deleted.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
68 68 Drupal.views.ajaxView.prototype.attachExposedFormAjax = function () {
  • 68 68 Drupal.views.ajaxView.prototype.attachExposedFormAjax = function () {
    69 69 var that = this;
    70 70 this.exposedFormAjax = [];
    71 $('input[type=submit], button[type=submit], input[type=image]', this.$exposed_form).not('[data-drupal-selector=edit-reset]').each(function (index) {
    • If you receive the exposed for as a parameter you can leave this line close to how it is but use the parameter as context instead of this.$exposed_form. The difference is that the search will be limited to all the inputs of one of the exposed forms instead of all of the input of all the exposed forms. This way you can avoid one more once()

    • Please register or sign in to reply
  • Thomas Gauges added 117 commits

    added 117 commits

    • 17bee951...84a8f0ee - 116 commits from branch project:9.5.x
    • 0be8a32a - Merge remote-tracking branch 'origin/9.5.x' into 3163299-ajax-exposed-filters-9.5.x

    Compare with previous version

  • Please register or sign in to reply
    Loading