Sorting nodes
drupalworld - April 15, 2007 - 05:19
| Project: | uBrowser |
| Version: | 5.x-1.2 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hello there,
Just found our about your module and it looks like this is what I was looking for :)
One question though: when selecting a category (left), a list of nodes appear on the right. How are they sorted? I guess it is by creation date, right? Well, would it be possible to choose another soring like in the Views module? For example alphabetically?
Many thanks for this great moldule :)
Drupalworld

#1
Hi
I just changed line 955 in my module to the following:
function _ubrowser_select_nodes($tids = array(), $filter = NULL, $operator = 'or', $depth = 0, $pager = TRUE, $order = 'n.sticky DESC, n.title ASC')It's in the following section of the module:
#2
This sort makes a lot more sense to me. Gonna commit it.
--project followup subject--
Automatically closed -- issue fixed for two weeks with no activity.
--project followup subject--
Automatically closed -- issue fixed for two weeks with no activity.
#3
Automatically closed -- issue fixed for two weeks with no activity.