Display of files in folders does not follow alphanumberic conventions

Bug #1180775 reported by Don Presant
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Nitish Bezzala

Bug Description

If you try to reorder files in an online folder by renaming them, files starting a,b,c...come before files starting 1,2,3...this does not follow alphanumeric conventions.

Mahara 1.6.3 (LAMP)
Windows 7, FF 20.0.1

Changed in mahara:
status: New → Confirmed
importance: Undecided → Medium
Changed in mahara:
assignee: nobody → Nitish Bezzala (nbezzala)
Revision history for this message
Nitish Bezzala (nbezzala) wrote :
Changed in mahara:
status: Confirmed → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/2483
Committed: http://gitorious.org/mahara/mahara/commit/6355a6caf1ad0026713d161ba5204ec149f64ec9
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 6355a6caf1ad0026713d161ba5204ec149f64ec9
Author: Nitish Bezzala <email address hidden>
Date: Sun Sep 8 08:48:42 2013 -0500

Display of files in folders does not follow alphanumberic conventions
(Bug 1180775)

The sort function adds a 0 in front of folders and a 1 in front of file
names to display folders first. So, the sort order is really by numbers,
and if a file has a number in the beginning, it ends up at the end of
the list.

I am separating the initial number and the file name with an 'a'
character, so that the sort order is - first folders, then files, and
all sorted by title.

Change-Id: I1367ebeaf030582beaac1892799dc844ecb51407
Signed-off-by: Nitish Bezzala <email address hidden>

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.