Esempio n. 1
0
 def showDupes(self):
     self.mw.browser_search(
         SearchTerm(
             dupe=SearchTerm.Dupe(
                 notetype_id=self.note.model()["id"], first_field=self.note.fields[0]
             )
         )
     )
Esempio n. 2
0
 def showDupes(self) -> None:
     aqt.dialogs.open(
         "Browser",
         self.mw,
         search=(SearchTerm(dupe=SearchTerm.Dupe(
             notetype_id=self.note.model()["id"],
             first_field=self.note.fields[0],
         )), ),
     )