Forums Forums Search & Filter Pro ordering by meta key is not working

Tagged: 

Viewing 10 posts - 1 through 10 (of 13 total)
  • Anonymous
    #141459

    I have had set up ordering by custom meta key long time before and everything was working ok.

    But now I figure out that it’s not working anymore. I checked if those meta key values are set up properly and they are. Even though order of those items is on every refresh totally random. I think that there is a bug in your plugin which came with some new version. I have latest version 2.3.4. Could you help me?

    setting

    Trevor
    #141535
    This reply has been marked as private.
    Anonymous
    #144921
    This reply has been marked as private.
    Trevor
    #145038
    This reply has been marked as private.
    Anonymous
    #145213
    This reply has been marked as private.
    Trevor
    #145296
    This reply has been marked as private.
    Anonymous
    #146173
    This reply has been marked as private.
    Trevor
    #146231

    In your functions.php file you have, at the end, a function called czus_add_request_vars. This seems to be modifying the query, and has a sort. Might that be it?

    Anonymous
    #146589

    I tried to remove that function but nothing changed. Anyway, that function is hooked to rest_product_query filter which is applied only to queries via REST API.. Any other idea?

    Trevor
    #146688
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 13 total)