public void _onRouteMatched([email protected] <sap.ui.core.routing.Route.MatchedInfo> oEvent, object oData) { // save the current query state var oRouterArgs = oEvent.getParameterFor(p => p.arguments); this._oRouterArgs = oRouterArgs["?query"].As <SearchParameters>() ?? new SearchParameters(); if (this._oRouterArgs != null) { // convert string to boolean this._oRouterArgs.sortDescending = Glue.ToBoolean(this._oRouterArgs.sortDescending); this._oRouterArgs.showDialog = Glue.ToBoolean(this._oRouterArgs.showDialog); // search/filter via URL hash this._applySearchFilter(this._oRouterArgs.search); // sorting via URL hash this._applySorter(this._oRouterArgs.sortField, this._oRouterArgs.sortDescending); // show dialog via URL hash if (this._oRouterArgs.showDialog) { this._oVSD.open(); } } }