From 89edecef8c6a05559b15623fd0e6805ed8943429 Mon Sep 17 00:00:00 2001 From: Johannes Schobel Date: Wed, 29 Mar 2017 17:12:14 +0200 Subject: [PATCH] no message --- LICENSE | 2 +- .../DingoQueryMapper/Parser/DingoQueryMapper.php | 2 +- src/JohannesSchobel/DingoQueryMapper/Parser/UriParser.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index 33a047c..9b7c2a4 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2016 Johannes Schobel +Copyright (c) 2017 Johannes Schobel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/JohannesSchobel/DingoQueryMapper/Parser/DingoQueryMapper.php b/src/JohannesSchobel/DingoQueryMapper/Parser/DingoQueryMapper.php index d7fe61e..8c0e1fc 100644 --- a/src/JohannesSchobel/DingoQueryMapper/Parser/DingoQueryMapper.php +++ b/src/JohannesSchobel/DingoQueryMapper/Parser/DingoQueryMapper.php @@ -20,7 +20,7 @@ class DingoQueryMapper // sort parameters protected $sort = []; // elements per page - protected $limit = 25; + protected $limit = 15; // page to display protected $page = 1; // offset of elements (page-1)*limit diff --git a/src/JohannesSchobel/DingoQueryMapper/Parser/UriParser.php b/src/JohannesSchobel/DingoQueryMapper/Parser/UriParser.php index 7c0028c..6e8f656 100644 --- a/src/JohannesSchobel/DingoQueryMapper/Parser/UriParser.php +++ b/src/JohannesSchobel/DingoQueryMapper/Parser/UriParser.php @@ -131,7 +131,7 @@ private function appendQueryParameter($parameter) { list($key, $value) = explode($operator, $parameter); - if(empty($value)) { + if(strlen($value) == 0) { return; }