File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments