Skip to content

Commit bcc0505

Browse files
committed
chore: added some comments
1 parent c50535a commit bcc0505

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webapp/controller/employee/overview/EmployeeOverviewContent.controller.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ sap.ui.define([
4949
},
5050

5151
onSearchEmployeesTable: function (oEvent) {
52-
//this._applySearchFilter(oEvent.getSource().getValue());
52+
//this._applySearchFilter(oEvent.getSource().getValue()); -> now being handled when route is matched
5353
var oRouter = this.getRouter();
54-
// update the hash with the current search term
54+
// update the hash with the current search term -> ?search=<searchValue>
5555
this._oRouterArgs["?query"].search = oEvent.getSource().getValue();
5656
oRouter.navTo("employeeOverview", this._oRouterArgs, true /*no history*/);
5757
},

0 commit comments

Comments
 (0)