Order keeps refreshing on every page load
-
Hi folks,
I’m having problem setting posts order, while using your plug-in.
It appears that every time I refresh a page in the admin dashboard, the “refresh” function in the plugin’s files gets fired.In that function, there is a query which gets executed on active post types, which set the “menu_order” property based on the total number of results given for a specific post type. This query should set the “menu_order” property, by calculating a rank, based on the order of the IDs given by the query, which are ordered by “menu_order”.
However, the result I get is not correct. I do get results ordered based on the previous “menu_order” value, but the ranking is not reflecting the order of the SQL query. The “rank” value apparently gets calculated based on the order of the IDs, which is wrong and keep resetting the order I previously set using your plug-in.
Is this a known error? I’m the only one experiencing this issue?
I’m using MariaDB 10.6.7
- The topic ‘Order keeps refreshing on every page load’ is closed to new replies.