default sorting not working

This topic contains 5 replies, has 3 voices, and was last updated by  Birgit Wilde 4 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #492741

    Birgit Wilde
    Full Member
    Post count: 236

    Hello,
    for every single of my CPTs I have the following default sorting option in the first place:

    Images – descending – default yes – activated no. (see screenshot).

    My aim is that when a user selects a category/cpt, in the archive view all those listings with an image are shown first, afterwards the listings without images (that is why default is on yes). Further more users should not be able to select listings with images in the sorting options of the search bar, like e. g. Name A-Z. That is why I set activated = no.

    However, whenever a user selects a category (without entering any search parameters) the archive page does not display the listings with images first, but instead it seems to sort them by date (newest first).

    How can I make sure that the listings with images are by default displaid first?

    Many thanks for your support
    Birgit

    #492786

    Guust
    Moderator
    Post count: 29970

    There is no option to sort by images first when I do some testing.
    I’ll get the developers to check your question too.

    #492807

    Kiran
    Moderator
    Post count: 7069

    Hello Birgit,

    Sort by image has been fixed already but it will be in next release.

    Patch available here: https://github.com/AyeCode/geodirectory/pull/817/commits/ee2ffb7febeca246432ef323adb724ba762ea18f

    Try to apply patch on your site or wait for a next update.

    Kiran

    #493360

    Birgit Wilde
    Full Member
    Post count: 236

    Hi Kiran,
    thank you very much.
    However, I am not quite sure how to proceed with this patch. What must I do with these files / codes?
    They do not look like normal code snippets for the snippet plugin.

    Sorry and thanks for your patience 🙂
    Birgit

    #493379

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #493854

    Birgit Wilde
    Full Member
    Post count: 236
    This reply has been marked as private.
Viewing 6 posts - 1 through 6 (of 6 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket