Bug Report: Products Report Looping After Warehouse Selection

Products Report Looping After Warehouse Selection

just tested in demo when ever i select a Warehouse and click on submit the report does not show and keep on looping

NA

naji alnimr

Reported
just tested in demo
when ever i select a Warehouse and click on submit the report does not show and keep on looping
  • MS

    Mian Saleem

    Answered
    Hello, Thank you for reporting this. I will check and fix this soon.
  • NA

    naji alnimr

    Answered
    hi,
    any updates soon?
  • MS

    Mian Saleem

    Answered
    Hello,

    I have not updated the file yet. If you need the fix urgently, please edit `app/controllers/admin/Reports.php` line 1498

    from

    ```
    $sp .= ($start_date ? ' AND ' : '') . " si.warehouse_id = '{$warehouse}' ";
    ```

    and replace with

    ```
    $sp .= ($start_date ? ' AND ' : '') . " s.warehouse_id = '{$warehouse}' ";
    ```

    Thank you
  • NA

    naji alnimr

    Answered
    you amazing ya bro, thanks
  • Login to Reply