From a26d1794fea354c9c90570c6cdbdceb733d47e13 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 10 Feb 2016 23:00:40 -0800 Subject: feed dates weren't being honoured. When that was fixed they turned out to be reversed. --- include/items.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/items.php b/include/items.php index 7fed486a6..295bdb899 100755 --- a/include/items.php +++ b/include/items.php @@ -593,8 +593,8 @@ function get_feed_for($channel, $observer_hash, $params) { } $items = items_fetch(array( 'wall' => '1', - 'datequery' => $params['begin'], - 'datequery2' => $params['end'], + 'datequery' => $params['end'], + 'datequery2' => $params['begin'], 'start' => $params['start'], // FIXME 'records' => $params['records'], // FIXME 'direction' => $params['direction'], // FIXME @@ -4915,7 +4915,7 @@ function items_fetch($arr,$channel = null,$observer_hash = null,$client_mode = C if(! array_key_exists('nouveau',$arr)) { $sql_extra2 = " AND item.parent = item.id "; - $sql_extra3 = ''; +// $sql_extra3 = ''; } if($arr['search']) { -- cgit v1.2.3