Sorting on Archive

Tagged: 

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

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

  • Author
    Posts
  • #6042
    Alan
    Spectator

    Hi,

    When I pull up a listing archive, there is an ability to sort, which is great. But it doesn’t appear to sort. At one point I thought it was working but now it doesn’t. I check for javascript errors and can’t see any.

    I’m wondering if I have some how broken it with my custom theme code, or whether there is another issue.

    I’d be grateful if you could pint me to where to code that triggers sorting is so I can try and debug.

    Alan

    #6043
    Alan
    Spectator

    p.s.

    I can see that the query string is added

    When I search I get a full query string
    /?action=epl_search&property_status&post_type=rental&property_bedrooms_min&property_price_from&property_price_to
    and sort adds e.g.
    &sortby=low

    but if I go to an ‘area’ category e.g.
    /areas/west-byfleet/
    it adds
    sortby=low
    to make
    /areas/west-byfleet/?sortby=low
    but this does not get processed and hence no sort

    Now I’m not sure if that is related to my setup (standard .htaccess & permalinks) theme or just that it doesn’t work

    #6044
    Alan
    Spectator

    p.p.s

    experimenting turning permalinks on and off made no difference BUT

    adding
    post_type=rental did

    adding
    post_type= didn’t

    so
    /areas/west-byfleet/?post_type=rental&sortby=low
    works

    Of course then I can’t just use rental categories ‘areas’ in menus, but I can of course just use custom links as a work around.

    #6063
    Merv Barrett
    Keymaster

    Strange, Alan, looking at your test page sorting looks like its working?

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Basic Support’ is closed to new topics and replies.