git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
browser: display 'js api' category as 'js'
[sheet.git]
/
searchlocal.js
diff --git
a/searchlocal.js
b/searchlocal.js
index ac38dce9501aa502d82dc387095e937ae7880507..5d7493b100616134bddd693d6cdef245010b2974 100644
(file)
--- a/
searchlocal.js
+++ b/
searchlocal.js
@@
-67,6
+67,11
@@
function filtertable(query, action) {
query = match[2];
}
query = match[2];
}
+ if (query == '' && action == 'add') {
+ // restore all columns if explicitly adding all ("+")
+ filtercols(table, function(){return true}, 'add');
+ // continue to restore rows
+ }
if (/^[a-z_]+$/.test(query) && document.querySelector('.b-a-'+query)) {
// column if class b-a-* exists
var match = function(th) {
if (/^[a-z_]+$/.test(query) && document.querySelector('.b-a-'+query)) {
// column if class b-a-* exists
var match = function(th) {