Announcement

Collapse
No announcement yet.

Sorting issue with API call to AlsoBoughtProductsList_Load_Query

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Sorting issue with API call to AlsoBoughtProductsList_Load_Query

    Miva Version: 10.08.01
    Also Bought Products Module Version: 1.0001

    Not sure when this sorting issue started, but it used to work. Calling "AlsoBoughtProductsList_Load_Query" with the Sort parameter is no longer returning sorted results. Has something changed? Here is an example call.

    Code:
    {
    "Store_Code": "***",
    Product_Code": "*******",
    "Count": 5,
    "Assigned": true,
    "Unassigned": false,
    "Filter": [
       {
          "name": "search",
          "value": [
          {
              "field": "active",
              "operator": "EQ",
              "value": true
           } ]
       } ],
    "Sort": "-alsobought_count",
    "Module_Code": "pdsalsobought",
    "Module_Function": "AlsoBoughtProductsList_Load_Query"
    }

    #2
    TipPro I have reached out to the developer and they have confirmed the sorting doesn’t appear to be working as expected. They are going to review the module and let me know when they can provide an update. Once the module is updated I will post here and the module will be updated in the app store.
    Nicholas Adkins
    Technical Training Specialist / Miva, Inc.
    [email protected]
    https://www.miva.com/mivalearn

    Comment

    Working...
    X