Reply To: sortorder removed

Home Forums AdRotate for WordPress General Support sortorder removed Reply To: sortorder removed



Hi Arnan,

below is what you have in the adrotate-setup file. this has removed the column from the database.
how does the sortorder work without the field … the field is also missing from the edit page of an ad
i used to sort the ads in a dynamic group by adding ” order by sortorder asc ”

due to the field gone it threw a error message saying unknown column sortorder

let me know how to work around this … thanks.

// Database: 	59
// AdRotate:	3.16
if($adrotate_db_version['current'] < 59) {
	adrotate_del_column("{$wpdb->prefix}adrotate", 'sortorder');
	adrotate_del_column("{$wpdb->prefix}adrotate_groups", 'sortorder');