Closed (fixed)
Project:
Favorite Nodes
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Jan 2007 at 14:45 UTC
Updated:
12 Dec 2007 at 03:31 UTC
Jump to comment: Most recent file
Comments
Comment #1
mtolmacs commentedThe solution is simple. Run through the favorite_nodes.module and replate all natcasesort($node_types) with ksort($node_types) and you're good to go.
Reason: $node_types is an assoc array of node type objects with a string key. Simply sorting by the string key is what the autor of this module probably wanted to do, but in Drupal 5 node_get_types() has been alteret to return this kind of array. Procedure above brings back the desired functionality.
Comment #2
Zoologico commentedWorked for me, thanks.
Will someone be committing this to the source?
Comment #3
Leeteq commentedfyi - this has still not been put into even the dev. version, so manual replacement is still needed. The current dev. version of this module seems to work well on 5.1. (after the above mentioned replacement)
Comment #4
Christefano-oldaccount commentedHere's a patch.
Comment #5
moshe weitzman commentedi believe this was recently fixed
Comment #6
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.