There are a couple potential causes for issues like these, when using the sidebar treeview.
First, what sort order setting are you using in Admin > Settings > Treeview?
I strongly recommend that you only use the "Manual" sort setting. There are some known issues with the other sort methods (e.g. Title or Identifier - title), particularly if any of your descriptions are missing either a title or an identifier. These issues will not occur when the setting is on "Manual."
I've previously described the background on this issue, and potential fixes (which have not been sponsored thus far), in this thread if you would like more information:
Second, in some cases the nested set can become corrupted, which can lead to this kind of behavior in the treeview. We use a Nested set model
to manage hierarchical information in AtoM's table-based MySQL database. You can try rebuilding the nested set with the following command, run from AtoM's root installation directory (which is typically /usr/share/nginx/atom
if you have followed our recommended installation instructions):
Let's also make sure that all records are properly indexed:
After that, I would recommend that you also try clearing the application cache and restarting PHP-FPM:
- Clear cache: php symfony cc
- Restart PHP-FPM
Also, don't forget that your web browser has a cache as well - you might want to test in an incognito or private browser window (where the browser cache is typically disabled by default), or else clear your browser cache first, to ensure you are seeing an up to date version of the page after trying the tasks above.
Let us know if that helps!