summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2015-03-09 13:39:45 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2015-03-09 13:39:45 (GMT)
commit88692ea3fe8e54d0110765a7da95dd7155dd2958 (patch)
tree18a7d02ee02262254f060b0c96ad83a2167ed4bc
parent83d3d016bd0d3299261bf0886538f982ad707f3a (diff)
downloadroundcubemail-plugins-kolab-88692ea3fe8e54d0110765a7da95dd7155dd2958.tar.gz
Keep tags filter on folder change (#4813)
-rw-r--r--plugins/kolab_tags/kolab_tags.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/kolab_tags/kolab_tags.js b/plugins/kolab_tags/kolab_tags.js
index 2e68e92..3b1b544 100644
--- a/plugins/kolab_tags/kolab_tags.js
+++ b/plugins/kolab_tags/kolab_tags.js
@@ -574,6 +574,10 @@ function search_request(url)
if (tagsfilter.length) {
url._filter = 'kolab_tags_' + (new Date).getTime() + ':' + tagsfilter.join(',') + ':' + (url._filter || 'ALL');
+ // force search request, needed to keep tag filter when changing folder
+ if (url._page == 1)
+ url._action = 'search';
+
return url;
}
}