Right now in Tools -> News the table of news items is sorting by default on the first column because no specific column is configured in the DataTable initialization. Rather than sorting on the first column (a column of checkboxes) I think it should sort on publication date descending.
Created attachment 91410 [details] [review] Bug 23279: In news management interface, sort news by publication date descending This patch makes a few changes to the configuration of the DataTable showing news items in the staff client. It adds a default sort on "Publication date," descending; It updates the way non-sortable columns are configured; It modifies sorting on the title and content columns so that articles are ignored. To test, apply the patch and go to Tools -> News. - When the page loads the table of news items should sort by default on publication date, descending. - There should be no sorting indicator on the first and last columns. - When sorting the "Title" or "News" columns, articles "A," "An," and "The" should be ignored.
Created attachment 91485 [details] [review] Bug 23279: In news management interface, sort news by publication date descending This patch makes a few changes to the configuration of the DataTable showing news items in the staff client. It adds a default sort on "Publication date," descending; It updates the way non-sortable columns are configured; It modifies sorting on the title and content columns so that articles are ignored. To test, apply the patch and go to Tools -> News. - When the page loads the table of news items should sort by default on publication date, descending. - There should be no sorting indicator on the first and last columns. - When sorting the "Title" or "News" columns, articles "A," "An," and "The" should be ignored. Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
Created attachment 91505 [details] [review] Bug 23279: In news management interface, sort news by publication date descending This patch makes a few changes to the configuration of the DataTable showing news items in the staff client. It adds a default sort on "Publication date," descending; It updates the way non-sortable columns are configured; It modifies sorting on the title and content columns so that articles are ignored. To test, apply the patch and go to Tools -> News. - When the page loads the table of news items should sort by default on publication date, descending. - There should be no sorting indicator on the first and last columns. - When sorting the "Title" or "News" columns, articles "A," "An," and "The" should be ignored. Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de> Signed-off-by: frederik chenier <frederik.chenier@inlibro.com>
Created attachment 91624 [details] [review] Bug 23279: In news management interface, sort news by publication date descending This patch makes a few changes to the configuration of the DataTable showing news items in the staff client. It adds a default sort on "Publication date," descending; It updates the way non-sortable columns are configured; It modifies sorting on the title and content columns so that articles are ignored. To test, apply the patch and go to Tools -> News. - When the page loads the table of news items should sort by default on publication date, descending. - There should be no sorting indicator on the first and last columns. - When sorting the "Title" or "News" columns, articles "A," "An," and "The" should be ignored. Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de> Signed-off-by: frederik chenier <frederik.chenier@inlibro.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Nice work! Pushed to master for 19.11.00
Enhancement not pushed to 19.05.x