diff --git a/src/Filters/SideBar/_EventSidebarFilter.py b/src/Filters/SideBar/_EventSidebarFilter.py index 062a59a68..0e7ac213d 100644 --- a/src/Filters/SideBar/_EventSidebarFilter.py +++ b/src/Filters/SideBar/_EventSidebarFilter.py @@ -141,7 +141,7 @@ class EventSidebarFilter(SidebarFilter): if self.generic.get_active() != 0: model = self.generic.get_model() node = self.generic.get_active_iter() - obj = model.get_value(node, 0) + obj = unicode(model.get_value(node, 0)) rule = MatchesFilter([obj]) generic_filter.add_rule(rule) diff --git a/src/Filters/SideBar/_FamilySidebarFilter.py b/src/Filters/SideBar/_FamilySidebarFilter.py index e02b2afd0..64684ee03 100644 --- a/src/Filters/SideBar/_FamilySidebarFilter.py +++ b/src/Filters/SideBar/_FamilySidebarFilter.py @@ -202,7 +202,7 @@ class FamilySidebarFilter(SidebarFilter): if self.generic.get_active() != 0: model = self.generic.get_model() node = self.generic.get_active_iter() - obj = model.get_value(node, 0) + obj = unicode(model.get_value(node, 0)) rule = MatchesFilter([obj]) generic_filter.add_rule(rule) diff --git a/src/Filters/SideBar/_MediaSidebarFilter.py b/src/Filters/SideBar/_MediaSidebarFilter.py index 348981023..ccfe523bf 100644 --- a/src/Filters/SideBar/_MediaSidebarFilter.py +++ b/src/Filters/SideBar/_MediaSidebarFilter.py @@ -150,7 +150,7 @@ class MediaSidebarFilter(SidebarFilter): if self.generic.get_active() != 0: model = self.generic.get_model() node = self.generic.get_active_iter() - obj = model.get_value(node, 0) + obj = unicode(model.get_value(node, 0)) rule = MatchesFilter([obj]) generic_filter.add_rule(rule) diff --git a/src/Filters/SideBar/_NoteSidebarFilter.py b/src/Filters/SideBar/_NoteSidebarFilter.py index 6c2ca4c49..694916c2e 100644 --- a/src/Filters/SideBar/_NoteSidebarFilter.py +++ b/src/Filters/SideBar/_NoteSidebarFilter.py @@ -138,7 +138,7 @@ class NoteSidebarFilter(SidebarFilter): if self.generic.get_active() != 0: model = self.generic.get_model() node = self.generic.get_active_iter() - obj = model.get_value(node, 0) + obj = unicode(model.get_value(node, 0)) rule = MatchesFilter([obj]) generic_filter.add_rule(rule) diff --git a/src/Filters/SideBar/_PersonSidebarFilter.py b/src/Filters/SideBar/_PersonSidebarFilter.py index 2500c7520..86bb3c26f 100644 --- a/src/Filters/SideBar/_PersonSidebarFilter.py +++ b/src/Filters/SideBar/_PersonSidebarFilter.py @@ -241,7 +241,7 @@ class PersonSidebarFilter(SidebarFilter): if self.generic.get_active() != 0: model = self.generic.get_model() node = self.generic.get_active_iter() - obj = model.get_value(node, 0) + obj = unicode(model.get_value(node, 0)) rule = MatchesFilter([obj]) generic_filter.add_rule(rule) diff --git a/src/Filters/SideBar/_PlaceSidebarFilter.py b/src/Filters/SideBar/_PlaceSidebarFilter.py index 258f6db6e..15c28f3d9 100644 --- a/src/Filters/SideBar/_PlaceSidebarFilter.py +++ b/src/Filters/SideBar/_PlaceSidebarFilter.py @@ -152,7 +152,7 @@ class PlaceSidebarFilter(SidebarFilter): if self.generic.get_active() != 0: model = self.generic.get_model() node = self.generic.get_active_iter() - obj = model.get_value(node, 0) + obj = unicode(model.get_value(node, 0)) rule = MatchesFilter([obj]) generic_filter.add_rule(rule) diff --git a/src/Filters/SideBar/_RepoSidebarFilter.py b/src/Filters/SideBar/_RepoSidebarFilter.py index 4543017c7..55f5214bc 100644 --- a/src/Filters/SideBar/_RepoSidebarFilter.py +++ b/src/Filters/SideBar/_RepoSidebarFilter.py @@ -141,7 +141,7 @@ class RepoSidebarFilter(SidebarFilter): if self.generic.get_active() != 0: model = self.generic.get_model() node = self.generic.get_active_iter() - obj = model.get_value(node, 0) + obj = unicode(model.get_value(node, 0)) rule = MatchesFilter([obj]) generic_filter.add_rule(rule) diff --git a/src/Filters/SideBar/_SourceSidebarFilter.py b/src/Filters/SideBar/_SourceSidebarFilter.py index 4db0c1c92..28d124447 100644 --- a/src/Filters/SideBar/_SourceSidebarFilter.py +++ b/src/Filters/SideBar/_SourceSidebarFilter.py @@ -125,7 +125,7 @@ class SourceSidebarFilter(SidebarFilter): if self.generic.get_active() != 0: model = self.generic.get_model() node = self.generic.get_active_iter() - obj = model.get_value(node, 0) + obj = unicode(model.get_value(node, 0)) rule = MatchesFilter([obj]) generic_filter.add_rule(rule)