Open R-Sandor opened 1 week ago
Somehow I can't reproduce this error locally, although I do get a 500 status code on the live page. Can you reproduce it locally yourself?
Let me try it again today, I made a couple of more changes so may have either made it worse or fixed it partially...
Just figured it out!
tags.stream().sorted((rTag, lTag) -> rTag.bookmarks().size() - lTag.bookmarks().size()).toList();
I was trying to sort an immutable list. The streams.toList()
method creates an immutable list so sorting the return from getAllTags()
broke the function.
This was working prior to refactor to JDBC, might be a model type error.