Closed (fixed)
Project:
Localization server
Version:
6.x-1.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2008 at 09:35 UTC
Updated:
31 Oct 2008 at 16:22 UTC
Jump to comment: Most recent file
Comments
Comment #1
gábor hojtsyYou mean to sort() for the filter form dropdown or elsewhere (too)?
Comment #2
brmassa commentedGabor,
yes. Im running the module for a while. At the time i installed it, Drupal 6 was 6.2. Now that 6.5 is there, the list is all mixed coz this release was placed at the end of the list among other D5 releases.
But i believe the similar select box appears in other places, like "export translation" page. It might be a good call to create a function like "project_release_get()" in order to centralise this.
regards,
massa
Comment #3
gábor hojtsyhttp://drupal.org/node/322229 marked as duplicate of this one.
Comment #4
gábor hojtsyWell, I was looking into the code for an easy fix, but found that the translation page filter form or the export form as shown on the above mentioned issue reuses our release listing function, which does order by the release title (= the visible name). The use of that in our export code for example is:
It could be that because the array is numbered, it is ordered by the number (in the array), and not the title. Whether this already happens in l10n_community_get_releases() or later then that in our form code would be good to know. Can someone bring this forward from here and find out the underlying reasons? I am a bit out of time at this moment, but would love to fix this bug sooner then later.
Comment #5
gábor hojtsyHe, this was funny. On a closer look, you can see that the directive of the ORDER BY is changed if only parsed requests should be returned, which is silly. We should expand on the condition of the SELECT instead. This patch fixed it, comitted to 6.x.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.