mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-04 22:16:08 +00:00
The scope for customersCtrl did not have access to the sorting preferences stored in the nested ColumnsCtrl scope. To address this, the page has been changed to use a new set of sorting preferences declared in the customersCtrl scope itself. Also, these sorting preferences are now stored in an object. This enables the parent scope to see changes to the sorting preferences which are done via the nested ColumnsCtrl scope, The "Bulk Order Management" page is also affected by the same scoping issue. Once this page is fixed, we can remove remnants of the sorting preferences initialized in ColumnsCtrl.