Search result skeleton and changed query

removed WHERE from viewAllThreads query