diff --git a/material/plugins/search/plugin.py b/material/plugins/search/plugin.py index 5c254e3f7..724de6e0a 100644 --- a/material/plugins/search/plugin.py +++ b/material/plugins/search/plugin.py @@ -47,6 +47,7 @@ class SearchPlugin(BasePlugin[SearchConfig]): super().__init__(*args, **kwargs) # Initialize incremental builds + self.is_dirty = False self.is_dirtyreload = False # Initialize search index cache diff --git a/src/plugins/search/plugin.py b/src/plugins/search/plugin.py index 5c254e3f7..724de6e0a 100644 --- a/src/plugins/search/plugin.py +++ b/src/plugins/search/plugin.py @@ -47,6 +47,7 @@ class SearchPlugin(BasePlugin[SearchConfig]): super().__init__(*args, **kwargs) # Initialize incremental builds + self.is_dirty = False self.is_dirtyreload = False # Initialize search index cache