Reply To: sortorder removed

Not one for queueing up? Get faster support with AdRotate Pro!
The forum is checked a few times per week. With AdRotate Pro you can get answers faster using email support.
More private, more direct and usually a solution within a day! Learn more »

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');