The provided partial path would be return which may not resolve to the
full URL when used on systems like those hosting BookStack on a
sub-path.
Fixes #4201
- * Generate a url with multiple parameters for sorting purposes.
+ * Generate a URL with multiple parameters for sorting purposes.
* Works out the logic to set the correct sorting direction
* Discards empty parameters and allows overriding.
*/
* Works out the logic to set the correct sorting direction
* Discards empty parameters and allows overriding.
*/
}
if (count($queryStringSections) === 0) {
}
if (count($queryStringSections) === 0) {
}
return url($path . '?' . implode('&', $queryStringSections));
}
return url($path . '?' . implode('&', $queryStringSections));