(name, direction)
| 170 | } |
| 171 | |
| 172 | sortBy(name, direction) { |
| 173 | if (!name || !direction) { |
| 174 | return this.clear('sort'); |
| 175 | } |
| 176 | return this.set('sort', `${name}:${direction}`); |
| 177 | } |
| 178 | |
| 179 | defaultSortBy(name, direction) { |
| 180 | if (!this.hasSort()) { |
no test coverage detected