Bad database query. Unknown column 'objects_xo.o_priorita' in 'order clause'