Author Topic

Thiago Campos Viana

Friday 20 March 2009 12:49:39 pm

Comment50481

if u are updating the attribute vote by sql, u have to update the field sort_key_int of the table ezcontentobject_attribute, it's something like this:

$l_STR_Requete = "UPDATE ezcontentobject_attribute
SET data_int = \"".$l_INT_Nb."\", sort_key_int = \"".$l_INT_Nb."\"
WHERE version = \"".$l_TAB_Resul[0]['version']."\"
AND id =\"".$l_TAB_Resul[0]['id']."\" ;";

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br