Skip to content

Commit aa66fea

Browse files
committed
Update for compatibility
1 parent fa3f8bd commit aa66fea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

advancedbrowser/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class AdvancedDataModel(DataModel):
1717

1818
def __init__(self, browser):
1919
"""Load our copy of the active columns and suppress the built-in one.
20-
20+
2121
This function runs after custom columns have been registered, so our
2222
list of custom types has already been populated."""
2323
super(AdvancedDataModel, self).__init__(browser)
@@ -75,12 +75,12 @@ def columnData(self, index):
7575
if type in self.browser.customTypes:
7676
return self.browser.customTypes[type].onData(c, n, type)
7777

78-
def search(self, txt, reset=True):
78+
def search(self, txt):
7979
"""We swap out the col.findCards function with our custom myFindCards,
8080
call the original search(), then put it back to its original version."""
8181
orig = self.col.findCards
8282
self.col.findCards = self.myFindCards
83-
super(AdvancedDataModel, self).search(txt, reset)
83+
super(AdvancedDataModel, self).search(txt)
8484
self.col.findCards = orig
8585

8686

0 commit comments

Comments
 (0)