Closed (won't fix)
Project:
Weight
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Feb 2013 at 13:12 UTC
Updated:
12 Feb 2013 at 17:55 UTC
Been wondering why this is'nt a field? :) Or an integer field formatter?
Comments
Comment #1
nancydruBecause then standard node sorting doesn't work.
Comment #2
giorgio79 commentedThanks Nancy I am not sure I understand. Is this explained somewhere? I notice the frontpage talks about some sticky stuff, but I guess that can be another boolean field :)
So, I am just evaluating this module versus using a simple integer field with Draggable Views. Storing it as a simple integer field seems closer to native Drupal stuff.
Comment #3
nancydruThe node table in the database has a value for sticky, which together with "created," allow Drupal to sort "sticky DESC, created DESC" to get the normal node ordering. The Weight module takes the normal sticky column, which is a Boolean, and adds in the weight, so the normal sorts still work and take weights into account. This module actually pre-dates fields, so it could be seen as "more Drupally."
Comment #4
giorgio79 commentedThanks Nancy :) IMHO the field approach is more future proof :) especially that every listing will be based on Views in D8, and there you create any sorting in any order you can dream of. WIll keep on playing with this module a bit, but I may go with a simple integer field and a draggable view.