Difference between revisions of "Changing Announcements Order By"
From SDU
| Line 1: | Line 1: | ||
| − | In R11 you can easily add a node to your scoreboard for 'Announcements'. But quickly I noticed that unlike the 'View->Announcements' form, it sorts Ascending by default and most would want to see the | + | In R11 you can easily add a node to your scoreboard for 'Announcements'. But quickly I noticed that unlike the 'View->Announcements' form, it sorts Ascending by default and most would want to see the current announcements, not ones from a year ago. |
You can easily correct this by copying %nx_root%/bopcfg/majic/cm.maj to %nx_root%/site/mods/majic | You can easily correct this by copying %nx_root%/bopcfg/majic/cm.maj to %nx_root%/site/mods/majic | ||
Revision as of 14:39, 8 August 2008
In R11 you can easily add a node to your scoreboard for 'Announcements'. But quickly I noticed that unlike the 'View->Announcements' form, it sorts Ascending by default and most would want to see the current announcements, not ones from a year ago.
You can easily correct this by copying %nx_root%/bopcfg/majic/cm.maj to %nx_root%/site/mods/majic
1. Edit the %nx_root%/site/mods/majic/cm.maj
2. Search for: "OBJECT cnote {"
3. Scroll down to: "SORT_BY "posted_date";"
4. Change to: "SORT_BY "posted_date DESC";"
Note: We only added 'DESC' after the posted_date field.
5. Restart services and the default sort order will be descending for the list_cnote.htmpl.