You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a possibility to override the direction parameter? I needed to have two different buttons for ASC and DESC so the toggle did not work for me. I could not find the workaround, so I suggest the following edit to the code to support this by using the queryParameters['direction']:
Edits
determineDirection() function
Added third $queryParameters parameter
Added override condition which uses the direction from query parameters if $queryParameters['direction'] exists :
Is there a possibility to override the direction parameter? I needed to have two different buttons for
ASC
andDESC
so the toggle did not work for me. I could not find the workaround, so I suggest the following edit to the code to support this by using thequeryParameters['direction']
:Edits
determineDirection() function
$queryParameters
parameter$queryParameters['direction']
exists :render() function
self::determineDirection()
function with third$queryParameters
parameter.Usage
View
Added pull request: #188
The text was updated successfully, but these errors were encountered: