256 |
|
|
257 |
} |
} |
258 |
|
|
259 |
|
BFilter.prototype.show_all = function (user_filter) { |
260 |
|
|
261 |
|
this.show_status("Showing all entries\n"); |
262 |
|
|
263 |
|
if (this.timeout_handle) { |
264 |
|
clearTimeout(this.timeout_handle); |
265 |
|
this.timeout_handle = null; |
266 |
|
this.debug("timeout cleared"); |
267 |
|
} |
268 |
|
|
269 |
|
this.clear_results(); |
270 |
|
this.hits = 0; |
271 |
|
|
272 |
|
for (part in this.arr) { |
273 |
|
// skip elements which are not really parts |
274 |
|
if (part == 'length' || part == 'min_len') continue; |
275 |
|
|
276 |
|
this.debug("part: "+part); |
277 |
|
for(var i = 0 ; i < this.arr[part].length ; i++) { |
278 |
|
this.result(this.arr[part][i]); |
279 |
|
this.hits++; |
280 |
|
} |
281 |
|
|
282 |
|
this.show_results(); |
283 |
|
} |
284 |
|
|
285 |
|
this.show_status(user_filter); |
286 |
|
|
287 |
|
} |
288 |
|
|