Add Category search menu. 👀

This commit is contained in:
StackZ
2020-06-20 16:37:03 +02:00
parent 7de012c2a2
commit 9860ea9719
5 changed files with 112 additions and 18 deletions
+3
View File
@@ -77,8 +77,11 @@ public:
else return -1; // Should not happen.
}
const std::vector<std::string> getCategories() { return this->availableCategories; }
private:
std::vector<UniStoreV2Struct> sortedStore, unsortedStore;
std::vector<std::string> availableCategories;
bool ascending = false;
nlohmann::json storeJson;
SortType sorttype = SortType::TITLE;