article order
Posted: 01 Mar 2015, 22:59
				
				Dear,
After migrating the review database from our Joomla 2.5 to 3.x I wrote some test messages to see how stuff was taken care of.
Unfortunately I was unable to order all articles based on date. The two items written to the database are always at the end of the ordering(date descending).
In another thread I asked for an explanation of the sql table columns lft rgt and catid.
When I had a good look on the values in these columns I noticed the lft rgt values for each item were ascending upto value 33. The new written items started back again at 3.
After changing these database values ascending from 34 all items were published in the correct order.
So it seems by setting the menu item in the backend to date ascending is actually not ordering items on date but on lft rgt values.
Now when writing an new item in the frontend it gets even worse because it is made child of most recent previous post. All can be corrected in the database, but any suggestions on how can this be changed to function correctly?
Kind regards,
Christopher Witmer
			After migrating the review database from our Joomla 2.5 to 3.x I wrote some test messages to see how stuff was taken care of.
Unfortunately I was unable to order all articles based on date. The two items written to the database are always at the end of the ordering(date descending).
In another thread I asked for an explanation of the sql table columns lft rgt and catid.
When I had a good look on the values in these columns I noticed the lft rgt values for each item were ascending upto value 33. The new written items started back again at 3.
After changing these database values ascending from 34 all items were published in the correct order.
So it seems by setting the menu item in the backend to date ascending is actually not ordering items on date but on lft rgt values.
Now when writing an new item in the frontend it gets even worse because it is made child of most recent previous post. All can be corrected in the database, but any suggestions on how can this be changed to function correctly?
Kind regards,
Christopher Witmer