Plugin Directory


Opened 5 years ago

Closed 4 years ago

#1706 closed defect (fixed)

Infinite Scroll is not active on search results

Reported by: kwight Owned by: ethitter
Priority: normal Severity: normal
Plugin: jetpack Keywords: infinite-scroll has-patch
Cc: jeremy+wp@…, johnwilsonuk, miguel.fonseca@…


Infinite Scroll does not work on search results, as search is not included in the default $supported check.

Attachments (3)

1706.diff (912 bytes) - added by kwight 5 years ago.
1706.2.diff (2.4 KB) - added by georgestephanis 5 years ago.
1706.3.diff (7.9 KB) - added by jeherve 5 years ago.

Download all attachments as: .zip

Change History (12)

@kwight5 years ago

comment:1 @kwight5 years ago

Oops, that patch won't work. IS will load /page/2/ rather than /page/2/?s=search

I assume the search string needs to be appended in ajax_url(). I leave it to the professionals.

comment:2 @georgestephanis5 years ago

  • Owner changed from tmoorewp to georgestephanis
  • Status changed from new to assigned

@georgestephanis5 years ago

comment:3 @georgestephanis5 years ago

I think that patch should do it. I'm testing it to confirm, kwight -- if you can test it on your end too, and let me know if anything seems to break, that'd be awesome! :)

comment:4 @georgestephanis5 years ago

  • Owner changed from georgestephanis to ethitter
  • Status changed from assigned to new

Passing it over to ethitter as there were some wp_query issues he'd found, that I hadn't anticipated.

@jeherve5 years ago

comment:6 @jeherve5 years ago

  • Cc jeremy+wp@… added
  • Keywords has-patch added

comment:7 @johnwilsonuk5 years ago

  • Cc johnwilsonuk added

comment:8 @mcsf5 years ago

  • Cc miguel.fonseca@… added

comment:9 @jeherve4 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r777844, props mcsf

Note: See TracTickets for help on using tickets.