Summary | Turba minisearch block response is broken when contact is not found |
Queue | Turba |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | jan (at) horde (dot) org |
Requester | lfbm.andamentos (at) gmail (dot) com |
Created | 03/13/2014 (4142 days ago) |
Due | |
Updated | 03/17/2014 (4138 days ago) |
Assigned | |
Resolved | 03/17/2014 (4138 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | Yes |
commit 6774485f97c05fdfdecec90d5c4b998fca5f3aa6
Author: Jan Schneider <jan@horde.org>
Date: Mon Mar 17 13:30:24 2014 +0100
[jan] Fix portal serach block response when no contacts have been
found (dulinux <lfbm.andamentos@gmail.com>,
Bug #13044).turba/docs/CHANGES | 2 ++
turba/package.xml | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
http://git.horde.org/horde-git/-/commit/6774485f97c05fdfdecec90d5c4b998fca5f3aa6
commit 3f607b2595b97ec15686cfe64f706b48fa1019d0
Author: dulinux <lfbm.andamentos@gmail.com>
Date: Wed Mar 12 23:31:02 2014 -0300
Fix broken minisearch block response when no contacts have been found.
Signed-off-by: Jan Schneider <jan@horde.org>
Bug: 13044turba/lib/Ajax/Application/Handler/Minisearch.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/3f607b2595b97ec15686cfe64f706b48fa1019d0
State ⇒ Resolved
commit 0bda1e1e3e13a9cf6d62f4febe06cfbd6f29af40
Author: dulinux <lfbm.andamentos@gmail.com>
Date: Wed Mar 12 23:31:02 2014 -0300
Fix broken minisearch block response when no contacts have been found.
Signed-off-by: Jan Schneider <jan@horde.org>
Bug: 13044turba/lib/Ajax/Application/Handler/Minisearch.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/0bda1e1e3e13a9cf6d62f4febe06cfbd6f29af40
Priority ⇒ 2. Medium
New Attachment: 0001-Fix-broken-minisearch-block-response-when-no-contact.patch
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Turba
Summary ⇒ Turba minisearch block response is broken when contact is not found
Type ⇒ Bug
State ⇒ Unconfirmed
your address books, the minisearch() method will return an empty
variable instead of the expected $ob->html = _("No contacts found").
Seems like the code is missing a "!" before the is_null check in order
to populate the correct message into $ob->html in the last elseif block.
Working Patch is attached.