6.0.0-beta1
7/6/25

[#14471] Sorting broken when sorting by a name field.
Summary Sorting broken when sorting by a name field.
Queue Turba
Queue Version 4.2.16
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester michael.menge (at) zdv (dot) uni-tuebingen (dot) de
Created 09/16/2016 (3215 days ago)
Due
Updated 10/20/2017 (2816 days ago)
Assigned 09/17/2016 (3214 days ago)
Resolved 09/18/2016 (3213 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/20/2017 08:34:50 PM Git Commit Comment #6 Reply to this comment
Changes have been made in Git (FRAMEWORK_5_2):

commit 1258bb2e57d206ea089194a9cfe824b771a58831
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Sat, 17 Sep 2016 21:56:19 -0400

Bug: 14471 Fix sorting by a name field.

This regression is related to Bug: 14463, as it was introduced with
the same change. In this case, since when we are sorting by a name field,
we use a "private" __lastname and __firstname attribute which
is not known by the driver's map, so it is ignored.

  M lib/Object.php

https://github.com/horde/turba/commit/1258bb2e57d206ea089194a9cfe824b771a58831
09/18/2016 02:00:09 AM Michael Rubinsky Comment #5
Summary ⇒ Sorting broken when sorting by a name field.
State ⇒ Resolved
Reply to this comment
Fixed for Turba 4.2.17.
09/18/2016 01:57:46 AM Git Commit Comment #4 Reply to this comment
Changes have been made in Git (FRAMEWORK_5_2):

commit 5b62a78f44183eabae10ad98ee53043885b9aa79
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Sat Sep 17 21:49:51 2016 -0400

     Bug: 14471 Fix sorting by a name field.

     This regression is related to Bug: 14463, as it was introduced with
     the same change. In this case, since when we are sorting by a name field,
     we use a "private" __lastname and __firstname attribute which
     is not known by the driver's map, so it is ignored.

  turba/lib/Object.php | 7 ++++---
  1 file changed, 4 insertions(+), 3 deletions(-)

http://github.com/horde/horde/commit/5b62a78f44183eabae10ad98ee53043885b9aa79
09/18/2016 01:53:40 AM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (master):

commit d7f3d75885ac69fd4bff9282c9fa9bda6bc9ab8c
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Sat Sep 17 21:49:51 2016 -0400

     Bug: 14471 Fix sorting by a name field.

     This regression is related to Bug: 14463, as it was introduced with
     the same change. In this case, since when we are sorting by a name field,
     we use a "private" __lastname and __firstname attribute which
     is not known by the driver's map, so it is ignored.

  turba/lib/Object.php | 7 ++++---
  1 file changed, 4 insertions(+), 3 deletions(-)

http://github.com/horde/horde/commit/d7f3d75885ac69fd4bff9282c9fa9bda6bc9ab8c
09/17/2016 12:43:58 PM Michael Rubinsky Comment #2
State ⇒ Assigned
Assigned to Michael Rubinsky
Reply to this comment
I can reproduce this, though oddly not on every install. The demo site 
exhibits this behavior though.
09/16/2016 03:23:24 PM michael (dot) menge (at) zdv (dot) uni-tuebingen (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ sorting broken
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
the address list is not sorted, changing the sort order  by clicking 
on the column header
does not changing the sort order.

https://lists.horde.org/archives/turba/Week-of-Mon-20160912/007169.html

Saved Queries