Skip to:
Content
Pages
Categories
Search
Top
Bottom

Query string values ignored on paginated links after viewing individual results


  • adamt19
    Participant

    @adamt19

    I’m trying to debug a problem on my site where query string parameters seemingly have no effect on the list of results requested from paginated links after viewing a profile from the results and then returning back to the results.

    bp-members-search cookie disappears when a profile is viewed and it doesn’t seem like BP checks for or uses that cookie in the case of returning to search after going somewhere else.

    Maybe it should? 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

  • adamt19
    Participant

    @adamt19

    I discovered that this (example) cookie:

    bp-members-search=a:10:{s:8:”field_28″;s:3:”Men”;s:7:”field_4″;s:6:”Female”;s:7:”field_3″;s:2:”27″;s:10:”field_3_to”;s:2:”35″;s:7:”field_8″;s:5:”80209″;s:9:”zipradius”;s:2:”10″;s:9:”field_112″;s:0:””;s:8:”field_65″;s:0:””;s:3:”dev”;s:1:”y”;s:2:”bs”;s:1:”+”;};

    is deleted when you view a member’s profile from search results.

    So, with ajax enabled in members search, if you go back to the search results and then click “next”, i THINK this is why the next set of results do not respect the search params? But I haven’t proven that yet. Still working through global js

    I’m not sure, but it sounds like your line of thought is valid. Using a cookie for this seems a bit weird, but hey, that’s how it’s been implemented at the moment. 🙂

    If when you finish working through things, you still think you’re onto a bug with the missing cookie idea, please would you submit an explanation of the issue over on our bug tracker at https://buddypress.trac.wordpress.org/newticket ?


    adamt19
    Participant

    @adamt19

    @djpaul I’d be happy to, but may take a while for a me to figure out (is the server invalidating the session? or what is deleting the cookie? etc.) so if anyone feels like assisting the investigation I’d gladly accept the help!


    adamt19
    Participant

    @adamt19

    This may also be a WPEngine thing, so I’m going to ask them to comment on the possibility of this being a problem with the way they handle sessions

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Query string values ignored on paginated links after viewing individual results’ is closed to new replies.
Skip to toolbar