From 2070ac0b2e3db4d3cd4f61efd7e156afde701fda Mon Sep 17 00:00:00 2001 From: Awilum Date: Sat, 6 Jul 2019 02:03:56 +0300 Subject: [PATCH] Flextype Core: Entries #175 #165 - Collections implementation - next round --- flextype/core/Entries.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flextype/core/Entries.php b/flextype/core/Entries.php index 230ea67d..8451c077 100755 --- a/flextype/core/Entries.php +++ b/flextype/core/Entries.php @@ -246,10 +246,10 @@ class Entries (($bind_or_where['or_where']['key']) ? $bind_or_where['or_where']['key'] : 'false') . (($bind_or_where['or_where']['expr']) ? $bind_or_where['or_where']['expr'] : 'false') . (($bind_or_where['or_where']['value']) ? $bind_or_where['or_where']['value'] : 'false') . - (($bind_or_where['order_by']['field']) ? $bind_or_where['order_by']['field'] : 'false') . - (($bind_or_where['order_by']['direction']) ? $bind_or_where['order_by']['direction'] : 'false') + (($bind_order_by['order_by']['field']) ? $bind_order_by['order_by']['field'] : 'false') . + (($bind_order_by['order_by']['direction']) ? $bind_order_by['order_by']['direction'] : 'false') ); - + // If requested entries exist with a specific cache_id, // then we take them from the cache otherwise we look for them. if ($this->flextype['cache']->contains($cache_id)) {