This should be a start to fix #147. I first count the number of comparisons (using .value() and .count() to do within SQL), and then return the absolute value for the sorted results top 100 results (descending) (I use "extra" to add this to query). I (think) this should speed up the page as the lists do not need to be generated for every image in the database. If not, we can look how to further optimize.
This should be a start to fix #147. I first count the number of comparisons (using .value() and .count() to do within SQL), and then return the absolute value for the sorted results top 100 results (descending) (I use "extra" to add this to query). I (think) this should speed up the page as the lists do not need to be generated for every image in the database. If not, we can look how to further optimize.

burnash/NeuroVault,burnash/NeuroVault,chrisfilo/NeuroVault,NeuroVault/NeuroVault,burnash/NeuroVault,chrisfilo/NeuroVault,erramuzpe/NeuroVault,NeuroVault/NeuroVault,chrisfilo/NeuroVault,chrisfilo/NeuroVault,erramuzpe/NeuroVault,erramuzpe/NeuroVault,chrisfilo/NeuroVault,burnash/NeuroVault,NeuroVault/NeuroVault,erramuzpe/NeuroVault,NeuroVault/NeuroVault,erramuzpe/NeuroVault,burnash/NeuroVault,NeuroVault/NeuroVault