From b660650472362e45f78d97cb395f09889196d164 Mon Sep 17 00:00:00 2001 From: Timothy Marois Date: Sun, 24 Feb 2019 17:55:23 -0500 Subject: [PATCH] Updated changelog and minor comment block updates. --- CHANGELOG.md | 3 +++ src/Database.php | 2 +- src/QueryLogic.php | 7 ++++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 026e4b2..856a4e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ Change Log ========== +### 02/24/2019 - 1.0.24 +* Merged [Pull Request](https://github.com/filebase/Filebase/pull/50) Fixed [bug](https://github.com/filebase/Filebase/issues/41) returning unexpected results. + ### 02/24/2019 - 1.0.23 * Merged [Pull Request](https://github.com/filebase/Filebase/pull/49) Added support for order by multiple columns * Merged [Pull Request](https://github.com/filebase/Filebase/pull/46) Added ability to query document ids (internal id) diff --git a/src/Database.php b/src/Database.php index 559b8cb..40b189b 100644 --- a/src/Database.php +++ b/src/Database.php @@ -15,7 +15,7 @@ class Database * Stores the version of Filebase * use $db->getVersion() */ - const VERSION = '1.0.23'; + const VERSION = '1.0.24'; /** * $config diff --git a/src/QueryLogic.php b/src/QueryLogic.php index e573d86..0d97c4f 100644 --- a/src/QueryLogic.php +++ b/src/QueryLogic.php @@ -42,6 +42,10 @@ public function __construct(Database $database) } } + /** + * loadDocuments + * + */ private function loadDocuments() { $predicates = $this->predicate->get(); @@ -60,11 +64,12 @@ private function loadDocuments() $this->sort(); $this->offsetLimit(); - return $this; + return $this; } $this->documents = $this->database->findAll(true,false); return $this; } + /** * run *