dotCMS / core

Headless/Hybrid Content Management System for Enterprises
http://dotcms.com
Other
840 stars 465 forks source link

Enhancement - dotCMS 2.5 - Content Sorting on Search & Edit Content Screen #4231

Closed sreedharathikam closed 10 years ago

sreedharathikam commented 10 years ago

Content Editors in our team have requested sorting to be changed to "Last Edit Date", it currently sorts on the title now. Users frequently make corrections to the most recently added content elements.

Change Request -Change the content sorting done on "Last Edit Date" column on Content Search Screen (Search & Edit Content), the same change also applied for "Site Browser / File Browser" Tab (Files listing not the folders, folders can be alpha based)

Thanks, Sreedhar

jtesser commented 10 years ago

actually in 2.5.1 this is the default. Once you click on a column it will change though

sreedharathikam commented 10 years ago

I don’t think so, sort is based on “title” in 2.5.1. Please refer to the below issue with comment as “changed sort order to 'title'”

https://github.com/dotCMS/dotCMS/issues/3471

Commit - https://github.com/dotCMS/dotCMS/commit/ccd7055eeaa45376dd87a30ddf40b39fc349d018

Thanks, Sreedhar

From: Jason Tesser [mailto:notifications@github.com] Sent: Monday, October 14, 2013 1:48 PM To: dotCMS/dotCMS Cc: Athikam, Sreedhar Subject: Re: [dotCMS] Enhancement - dotCMS 2.5 - Content Sorting on Search & Edit Content Screen (#4231)

actually in 2.5.1 this is the default. Once you click on a column it will change though

— Reply to this email directly or view it on GitHubhttps://github.com/dotCMS/dotCMS/issues/4231#issuecomment-26274516.


The information contained in this message is intended only for the recipient, and may be a confidential attorney-client communication or may otherwise be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please be aware that any dissemination or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by replying to the message and deleting it from your computer. McGraw Hill Financial reserves the right, subject to applicable local law, to monitor, review and process the content of any electronic message or information sent to or from McGraw Hill Financial e-mail addresses without informing the sender or recipient of the message. By sending electronic message or information to McGraw Hill Financial e-mail addresses you, as the sender, are consenting to McGraw Hill Financial processing any of your personal data therein.

jtesser commented 10 years ago

I understand it was changed i promise :-p Pull the latest master-2.5 and test

sreedharathikam commented 10 years ago

I will believe you in this case, we are waiting for dotCMS 2.5.1 version release. Will test the changes there and will let you know if it’s still an issue.

FYI - dotCMS version 2.5 downloaded as of Sep 24th has this issue, tested the same in our local environment.


The information contained in this message is intended only for the recipient, and may be a confidential attorney-client communication or may otherwise be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please be aware that any dissemination or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by replying to the message and deleting it from your computer. McGraw Hill Financial reserves the right, subject to applicable local law, to monitor, review and process the content of any electronic message or information sent to or from McGraw Hill Financial e-mail addresses without informing the sender or recipient of the message. By sending electronic message or information to McGraw Hill Financial e-mail addresses you, as the sender, are consenting to McGraw Hill Financial processing any of your personal data therein.

sreedharathikam commented 10 years ago

Jason,

I have done some more analysis on this issue and I see that that the Content Ajax call to get the content is called twice. second call for the same content passes the sort order as “undefined”.

[N/A] [15/10/13 16:34:03:096 EDT] ERROR ajax.ContentletAjax [[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] - Order by received from UI [modDate desc], Default Order By Used [modDate desc], Is Order By from UI SET true [N/A] [15/10/13 16:34:04:154 EDT] ERROR ajax.ContentletAjax [[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] - Order by received from UI [undefined], Default Order By Used [modDate desc], Is Order By from UI SET true

Thanks, Sreedhar

From: Athikam, Sreedhar Sent: Monday, October 14, 2013 1:53 PM To: 'dotCMS/dotCMS'; dotCMS/dotCMS Subject: RE: [dotCMS] Enhancement - dotCMS 2.5 - Content Sorting on Search & Edit Content Screen (#4231)

I don’t think so, sort is based on “title” in 2.5.1. Please refer to the below issue with comment as “changed sort order to 'title'”

https://github.com/dotCMS/dotCMS/issues/3471

Commit - https://github.com/dotCMS/dotCMS/commit/ccd7055eeaa45376dd87a30ddf40b39fc349d018

Thanks, Sreedhar

From: Jason Tesser [mailto:notifications@github.com] Sent: Monday, October 14, 2013 1:48 PM To: dotCMS/dotCMS Cc: Athikam, Sreedhar Subject: Re: [dotCMS] Enhancement - dotCMS 2.5 - Content Sorting on Search & Edit Content Screen (#4231)

actually in 2.5.1 this is the default. Once you click on a column it will change though

— Reply to this email directly or view it on GitHubhttps://github.com/dotCMS/dotCMS/issues/4231#issuecomment-26274516.


The information contained in this message is intended only for the recipient, and may be a confidential attorney-client communication or may otherwise be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please be aware that any dissemination or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by replying to the message and deleting it from your computer. McGraw Hill Financial reserves the right, subject to applicable local law, to monitor, review and process the content of any electronic message or information sent to or from McGraw Hill Financial e-mail addresses without informing the sender or recipient of the message. By sending electronic message or information to McGraw Hill Financial e-mail addresses you, as the sender, are consenting to McGraw Hill Financial processing any of your personal data therein.

sreedharathikam commented 10 years ago

Sorry, tested on the demo site and it works as expected. Issue only seems to with 2.5 installation. Please ignore my comments.

Thanks, Sreedhar


The information contained in this message is intended only for the recipient, and may be a confidential attorney-client communication or may otherwise be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please be aware that any dissemination or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by replying to the message and deleting it from your computer. McGraw Hill Financial reserves the right, subject to applicable local law, to monitor, review and process the content of any electronic message or information sent to or from McGraw Hill Financial e-mail addresses without informing the sender or recipient of the message. By sending electronic message or information to McGraw Hill Financial e-mail addresses you, as the sender, are consenting to McGraw Hill Financial processing any of your personal data therein.