We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3acd68 commit 2f5ac19Copy full SHA for 2f5ac19
.gitignore
@@ -4,3 +4,4 @@
4
/norm.sublime-*
5
/docs/api
6
/sqlnet.log
7
+.phpintel
src/Norm/Controller/NormController.php
@@ -88,7 +88,15 @@ public function getCriteria()
88
*/
89
public function getOr()
90
{
91
- $or = $this->request->get('!or') ? array("!or" => $this->request->get('!or')): array();
+ $or = array();
92
+
93
+ if($this->request->get('!or')){
94
+ foreach ($this->request->get('!or') as $key => $value) {
95
+ $or[] = array($key => $value);
96
+ }
97
98
+ $or = array("!or" => $or);
99
100
101
return $or;
102
}
0 commit comments