6.0.0-RC7
6/29/26

[#1264] Sorting files by date in Chora
Summary Sorting files by date in Chora
Queue Horde Framework Packages
Type Bug
State Resolved
Priority 2. Medium
Owners chuck (at) horde (dot) org
Requester olli.korhonen (at) fimx (dot) fi
Created 1/28/05 (7822 days ago)
Due
Updated 1/28/05 (7822 days ago)
Assigned 1/28/05 (7822 days ago)
Resolved 1/28/05 (7822 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
283 Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Thanks for the catch - fixed now.
183 Chuck Hagenbuch Assigned to Chuck Hagenbuch
State ⇒ Assigned
 
163 olli (dot) korhonen (at) fimx (dot) fi Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Sorting files by date in Chora
Queue ⇒ Horde Framework Packages
Reply to this comment
File sorting in Chora is always ascending because of this little typo 
in framework/VC/VC/cvs.php. Patch included.



--- horde-3.0.2/lib/Horde/VC/cvs.php    2005-01-07 02:23:51.000000000 +0200

+++ horde-3.0.2_patch/lib/Horde/VC/cvs.php      2005-01-28 
16:51:18.042600057 +0200

@@ -510,7 +510,7 @@

          $bb = $b->queryLastLog();

          if ($aa->queryDate() == $bb->queryDate()) {

              return 0;

-        } elseif ($this->sortDir = VC_SORT_ASCENDING) {

+        } elseif ($this->sortDir == VC_SORT_ASCENDING) {

              return ($aa->queryDate() < $bb->queryDate()) ? 1 : -1;

          } else {

              return ($bb->queryDate() < $aa->queryDate()) ? 1 : -1;


Saved Queries