d5e30592f3
When lazy load categories is enabled, the list of categories does not have to fetched from the "site.json" endpoint because it is already returned by "search.json". This commit reverts commits5056502and3e54697because iterating over all pages of categories is not really necessary.