wrong count of orders per order status

  • Bodav
    Participant
    2 years, 6 months ago #27956

    hello
    we have an issue where “select all” orders per status gives wrong number on the actual amount of orders
    as can be seen in this screenshot https://snipboard.io/QVUJ54.jpg
    we are in the “processing” order status tab, there are 61 orders there, but when we select all it says 61 out of 62 orders. where is the missing one? sometimes it’s 2-3 orders that are missing. we tried full sync from scratch and also regular sync.
    another example: https://snipboard.io/JTx6pY.jpg
    “on hold” status tab, there are 4 orders and it says 6.
    another example: https://snipboard.io/xsODpV.jpg
    “pending payment status” status tab, it shows the trashed orders there also along with pending payment, and gives a totally wrong 9 out or 148..even if it was trashed orders + pending payment, there should be only 12 because there are 5 pending payment and 7 in trash.
    on the “trash” status tab it shows 0 orders but there should be 7.
    one more: https://snipboard.io/S9cgzG.jpg
    “postponed” orders status, there are 3 orders and it says 3 out of 4.

    wpsolr
    Keymaster
    2 years, 6 months ago #27960

    After investigation, there is indeed something odd with admin order statuses.
    Looks fine with other post type statuses.
    Making more tests…

    wpsolr
    Keymaster
    2 years, 6 months ago #27962

    Please replace your current WPSOLR version with this release:
    https://trello.com/c/RqMnhtEa/180-fix-trashed-orders-not-indexed-and-shown-in-admin

    The release includes the following fixes/improvements:
    – Fix trashed orders not indexed and displayed in admin listings

    Bodav
    Participant
    2 years, 6 months ago #27963

    Hi, testing. Thank you

    Bodav
    Participant
    2 years, 6 months ago #27965

    Installed the fix, but now there are no trashed orders tab at all. Should I resync all orders?

    wpsolr
    Keymaster
    2 years, 6 months ago #27966

    Yes. Sorry, I forgot to mention that.

    Bodav
    Participant
    2 years, 6 months ago #27967

    Patrice, is there a way to sync only orders from scratch without it asksing after to sync all rest of the tables? Its almost 100k posts in total

    wpsolr
    Keymaster
    2 years, 6 months ago #27968

    Select only “orders”, click on “Delete selected”.
    Then “Index selected”.

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

You must be logged in to reply to this topic.