Update CHANGELOG

Orionik [07-25-22 - 17:26]
Update CHANGELOG
Fix issue about completed icon in lore library not beeing displayed after a reload ui
Filename
CHANGELOG
Librarian.lua
diff --git a/CHANGELOG b/CHANGELOG
index b2073c6..c357f92 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,21 +1,23 @@
 -------------------------------------------------------------------------------
-Librarian v3.0 2022-05-13
+Librarian v3.0 2022-07-25
 -------------------------------------------------------------------------------
-3.0 2022-05-13
-- Updated API for Ascending Tide (101033)
+3.0 2022-07-25
+- Updated API for High Isle (101034)
 - Fix issues
 - Add icons in lore library
 - Add option to mark book as read directly from lore library
 - Remove Import from before patch option which was meant for save created back in 2015
 - Remove some deprecation code for save before 2015
-- Add unreadPerCollection in save in order to know which collection should have an icon in lore library
-- Deprecate global saves to use bookId as identifiers instead of the title (several books had the same name) and remove all data that could be retrieved thanks to ESO API now that we have the bookId (title, body, medium, showTitle, wordCount). It lightens the save (~2MB for all the books on one character) and allow the player to switch language.
+- Deprecate global saves to use bookId as identifiers instead of the title (several books had the same name) and remove all data that could be retrieved thanks to ESO API now that we have the bookId (title, body, medium, showTitle, wordCount). It lightens the save (~2MB for all the books on one character) and allow the player to switch language (although a few books can't be retrieved with their bookId because they don't have a category/collection so for them all the data are kept). Keep for now the previous save in a separate table in case there is a mistake in order to be able to roll back)
 - Deprecate characterBooks save, it now references the bookId instead of the title and fill at the same time the unreadPerCollection list
 - Optimize ImportFromLoreLibrary by removing the Refresh every frame (without it, past 1000 books, the game slow down a lot and at 4000 you end up with less than 1fps)
 - Activate back auto importation from init now that it is quick enough
 - Add full localization and support for french language
 - Add a small timer before refreshing the list when doing a research as we could trigger a crash if we were typing a search too fast when we have too many books
 - Improve settings (better integration with LibAddonMenu and add a few options)
+- Add category column in Librarian UI
+- Use smaller font in order to fit all of the text in the UI
+- Add button to select if you want to search through the Full-Text or just the Title of the books

 2.0 (2/12/18)
 - Updated API for Dragon Bones (100022)
diff --git a/Librarian.lua b/Librarian.lua
index 2731080..3131422 100644
--- a/Librarian.lua
+++ b/Librarian.lua
@@ -286,14 +286,14 @@ function Librarian:AddLoreLibraryIcons()
         local shouldHideIcon = true
         local statusIcon = control:GetNamedChild("StatusIcon")
         if data.numKnownBooks > 0 then
-            if self.unreadPerCollections[data.categoryIndex] and self.unreadPerCollections[data.categoryIndex][data.collectionIndex] then
-                if self.unreadPerCollections[data.categoryIndex][data.collectionIndex] > 0 then
-                    shouldHideIcon = false
-                    statusIcon:SetTexture("esoui/art/miscellaneous/new_icon.dds")
-                elseif data.numKnownBooks == data.totalBooks then
-                    shouldHideIcon = false
-                    statusIcon:SetTexture("esoui/art/miscellaneous/check.dds")
-                end
+            if self.unreadPerCollections[data.categoryIndex] and
+                self.unreadPerCollections[data.categoryIndex][data.collectionIndex] and
+                self.unreadPerCollections[data.categoryIndex][data.collectionIndex] > 0 then
+                shouldHideIcon = false
+                statusIcon:SetTexture("esoui/art/miscellaneous/new_icon.dds")
+            elseif data.numKnownBooks == data.totalBooks then
+                shouldHideIcon = false
+                statusIcon:SetTexture("esoui/art/miscellaneous/check.dds")
             end
         end
         statusIcon:SetHidden(shouldHideIcon)