File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ public function __construct()
2929 */
3030 public function setRawRequest (array $ request ): self
3131 {
32+ $ this ->inHeaderQuery = false ;
3233 $ this ->rawRequest = $ request ;
3334
3435 return $ this ;
@@ -117,13 +118,6 @@ public function addExistRelations(array $existRelations): self
117118
118119 public function getUrlQueryString (array $ overrides = []): string
119120 {
120- if ($ this ->rawRequest !== []) {
121- return \http_build_query (\array_merge (
122- $ this ->rawRequest ,
123- $ overrides
124- ), '' , '& ' , PHP_QUERY_RFC3986 );
125- }
126-
127121 return \http_build_query (\array_merge (
128122 $ this ->getAllFilters (),
129123 $ overrides
@@ -132,6 +126,10 @@ public function getUrlQueryString(array $overrides = []): string
132126
133127 public function getAllFilters (): array
134128 {
129+ if ($ this ->rawRequest !== []) {
130+ return $ this ->rawRequest ;
131+ }
132+
135133 return \array_merge (
136134 $ this ->getFilters (),
137135 $ this ->sqlDebug ? ['sqlDebug ' => 1 ] : [],
You can’t perform that action at this time.
0 commit comments