Projects
Kolab:Winterfell
roundcubemail-plugins-kolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 25
View file
roundcubemail-plugins-kolab.spec
Changed
@@ -24,7 +24,7 @@ Name: roundcubemail-plugins-kolab Version: 3.3 -Release: 0.20160229.git%{?dist} +Release: 0.20160301.git%{?dist} Summary: Kolab Groupware plugins for Roundcube Webmail Group: Applications/Internet
View file
debian.changelog
Changed
@@ -1,4 +1,4 @@ -roundcubemail-plugins-kolab (1:3.3~dev20160229-0~kolab1) unstable; urgency=low +roundcubemail-plugins-kolab (1:3.3~dev20160301-0~kolab1) unstable; urgency=low * fix package version: we need epoch 1
View file
roundcubemail-plugins-kolab-3.3.tar.gz/plugins/kolab_tags/lib/kolab_tags_engine.php
Changed
@@ -73,6 +73,11 @@ // load miniColors jqueryui::miniColors(); + + // Modify search filter (and set selected tags) + if ($this->rc->action == 'show' || !$this->rc->action) { + $this->search_filter_mods(); + } } /** @@ -444,6 +449,26 @@ } /** + * Get selected tags when in search-mode + */ + protected function search_filter_mods() + { + if (!empty($_REQUEST['_search']) && !empty($_SESSION['search']) + && $_SESSION['search_request'] == $_REQUEST['_search'] + && ($filter = $_SESSION['search_filter']) + ) { + if (preg_match('/^(kolab_tags_[0-9]{10,}:([^:]+):)/', $filter, $m)) { + $search_tags = explode(',', $m[2]); + $search_filter = substr($filter, strlen($m[1])); + + // send current search properties to the browser + $this->rc->output->set_env('search_filter_selected', $search_filter); + $this->rc->output->set_env('selected_tags', $search_tags); + } + } + } + + /** * "Convert" tag object to simple array for use in javascript */ private function parse_tag($tag, $list = false)
View file
roundcubemail-plugins-kolab.dsc
Changed
@@ -2,7 +2,7 @@ Source: roundcubemail-plugins-kolab Binary: roundcubemail-plugins-kolab Architecture: all -Version: 1:3.3~dev20160229-0~kolab1 +Version: 1:3.3~dev20160301-0~kolab1 Maintainer: Christoph Wickert <wickert@kolabsys.com> Uploaders: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>, Paul Klos <kolab@klos2day.nl> Standards-Version: 3.9.3
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.