Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-17619

function fetch( 'shop', 'best_sell_list', ...) get temporary objects

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Obsolete
    • Affects Version/s: 4.2.0, 4.3.0, 4.4.0
    • Fix Version/s: None
    • Component/s: Legacy > Webshop
    • Labels:
      None
    • Environment:

      Operating System: Ubuntu 9.04
      PHP Version: '5.2.10
      Database and version: MySQL 5.1.37
      Browser (and version): Firefox 3.6.12

      Description

      When I used fetch( 'shop', 'best_sell_list', ...) in Webshop module, I obtained products, which I should not, ie temporary orders are still being considered.

      After adding line: AND ezorder.is_temporary='0'
      after line 137 in eZShopFunctionCollection::fetchBestSellList (kernel/shop/ezshopfunctioncollection.php)
      result was ok, like in http://example.com/admin/shop/statistics
      (in the correct order of course)

        Attachments

          Activity

            People

            Assignee:
            unknown unknown
            Reporter:
            karol_r Karol Radziuk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: