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

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Medium Medium
    • None
    • 4.2.0, 4.3.0, 4.4.0
    • Legacy > Webshop
    • None
    • 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

            unknown unknown
            karol_r karol_r
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: