Closed (fixed)
Project:
Weight
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2006 at 04:52 UTC
Updated:
27 Nov 2006 at 16:17 UTC
The last sentence of the node weight description on the node/XXX/edit page says:
Items with a higher node weight value will appear above those with a lower value.
which seems backwards to me -- lower node weights float to the top, just like everywhere else in Drupal.
Comments
Comment #1
harry slaughterThanks, re-worded to be clearer.
Comment #2
DrupalAtHawthorn commentedI don't think the original poster was referring to the wording so much as the fact that this module treats weights opposite from the the way Drupal does. Drupal's standard--for example in menus--is that lower numbers are "lighter", and thus "float" to the top of lists, while higher numbers are "heavier" and sink, so an item with a weight of -10 would appear above items with weights of 0 and 10.
I understand that I can simply code the PHP snippet to sort in descending order and obtain the desired effect, but I vote for the module conforming to the precedent set by Drupal.
Just my 2 cents...
Tom
Comment #3
(not verified) commented