News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

V2.0.3b : VirtueMartModelMedia : Ordering

Started by mike75, March 07, 2012, 14:42:09 PM

Previous topic - Next topic

mike75

Hello,

in V2.0.3b
I see in VirtueMartModelMedia constructor

$this->addvalidOrderingFieldName(array('ordering'));
$this->_selectedOrdering = 'ordering';

In some case (JOIN tables with ordering columns) this may cause

#1052 - Column 'ordering' in order clause is ambiguous.

_getOrdering mehod in VmModel class should be modified.

ORDER BY statement should be full