ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Search Results and Pagination

August 24, 2011 11:35am

Subscribe [3]
  • #1 / Aug 24, 2011 11:35am

    Color-ize

    27 posts

    v2.2.2 - Build: date 20110801 - © Copyright 2003 - 2011 EllisLab, Inc.
    Script executed in 0.1473 seconds - 16 SQL queries used

    My search results are as follows for my call tag…

    {exp:search:search_results switch="resultRowOne|resultRowTwo" results="10" paginate="bottom" sort="asc" dynamic_parameters="yes"}

    I have tried both results=“10” and limit=“10” and still the pagination kicks in at 50 results..never before…what am I doing wrong (I’ve searched the forums for about an hour, and it’s driving me NUTS!) (I didn’t have far to go…)

    Any help would be SUPER appreciated!
    Thank you,
    Seth

  • #2 / Aug 24, 2011 5:56pm

    Color-ize

    27 posts

    Seriously thinking it just has to be a setting somewhere, why isn’t it documented in any of the wiki’s or the guide? I can’t locate it anywhere…

  • #3 / Aug 24, 2011 7:34pm

    Mark Bowen

    12637 posts

    Hiya,

    The results=“10” (Documentation Link) parameter needs to be added to your search form tag and not the search results tag as you have above.

    Hope that helps a bit.

    Best wishes,

    Mark

  • #4 / Aug 24, 2011 7:52pm

    Color-ize

    27 posts

    Oh dear. That was super simple. Thank you so much Mark, I appreciate it. (checks documentation) Such a short description I probably skimmed over it from lack of sleep while trying to not dribble my coffee all over my desk and shirt trying to stay awake. Whoops.

    Thanks again!
    Seth

    (yes, that solved my issue this thread can be closed! 😊

  • #5 / Aug 24, 2011 7:53pm

    Mark Bowen

    12637 posts

    Oh dear. That was super simple. Thank you so much Mark, I appreciate it.

    Excellent! Glad that got you sorted.

    Best wishes,

    Mark

  • #6 / Aug 24, 2011 8:33pm

    Dan Decker

    7338 posts

    Color-ize,

    I’m so happy to see you are all set. Thanks Mark for providing the solution! Maybe you should come to work here? 😉

    I’m going to mark this as resolved. Color-ize, please start a new thread if you ever need assistance in the future.

    Cheers!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases