#73 show latest image in imagemamanger list

open
nobody
None
5
2010-04-17
2010-04-17
ohwada
No

request:

show latest image in imagemamanger list.

code:

modules/legacy/forms/ImageFilterForm.class.php
[code]
function fetch()
{
...

// note
// $this->_mCriteria->addSort($this->getSort(), $this->getOrder());
// if (abs($this->mSort) != IMAGE_SORT_KEY_IMAGE_WEIGHT) {
// $this->_mCriteria->addSort(IMAGE_SORT_KEY_IMAGE_WEIGHT, $this->getOrder());
// }

// add
$this->_mCriteria->addSort('image_id', "DESC");

[/code]

note
It deletes it because there is a bug.
It is good only in the addition if there is no bug.

NOT work weight in the imagemamanger
https://sourceforge.net/tracker/?func=detail&aid=2988674&group_id=159211&atid=943471

Discussion