MCPcopy Index your code
hub / github.com/codecombat/codecombat / onSearchChange

Method onSearchChange

app/views/common/SearchView.js:127–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125 }
126
127 onSearchChange () {
128 this.hideLoading()
129 this.collection.sort()
130 const documents = this.collection.models
131 const table = $(this.tableTemplate({ documents, me, page: this.page, moment, view: this }))
132 this.$el.find('table').replaceWith(table)
133 this.$el.find('table').i18n()
134 return this.applyRTLIfNeeded()
135 }
136
137 removeOldSearch () {
138 if (this.collection == null) { return }

Callers

nothing calls this directly

Calls 1

hideLoadingMethod · 0.80

Tested by

no test coverage detected