--- trunk/bfilter.js 2004/11/22 13:34:21 41 +++ trunk/bfilter.js 2004/12/15 15:35:24 42 @@ -256,3 +256,33 @@ } +BFilter.prototype.show_all = function (user_filter) { + + this.show_status("Showing all entries\n"); + + if (this.timeout_handle) { + clearTimeout(this.timeout_handle); + this.timeout_handle = null; + this.debug("timeout cleared"); + } + + this.clear_results(); + this.hits = 0; + + for (part in this.arr) { + // skip elements which are not really parts + if (part == 'length' || part == 'min_len') continue; + + this.debug("part: "+part); + for(var i = 0 ; i < this.arr[part].length ; i++) { + this.result(this.arr[part][i]); + this.hits++; + } + + this.show_results(); + } + + this.show_status(user_filter); + +} +