Changeset 7975
- Timestamp:
- 12/17/2018 07:34:02 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/javascript/tracker/source/stores/table-store.js
r3814 r7975 19 19 filters = Object.assign( filters, options ); 20 20 21 const filteredRows = this. searchRows( wpcApplicationTracker.applications, filters.searchQuery );21 const filteredRows = this._searchRows( wpcApplicationTracker.applications, filters.searchQuery ); 22 22 23 filteredRows.sort( this. sortRows );23 filteredRows.sort( this._sortRows ); 24 24 25 25 return filteredRows; … … 34 34 * @returns {array} 35 35 */ 36 searchRows : function(rows, searchQuery ) {36 _searchRows : function(rows, searchQuery ) { 37 37 const hits = []; 38 38 … … 65 65 * @returns {number} 66 66 */ 67 sortRows : function(a, b ) {67 _sortRows : function(a, b ) { 68 68 a = a[ filters.sortField ].toLowerCase(); 69 69 b = b[ filters.sortField ].toLowerCase();
Note: See TracChangeset
for help on using the changeset viewer.