()
| 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 } |
nothing calls this directly
no test coverage detected