-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NF: replace mid
by noteTypeId
#17771
base: main
Are you sure you want to change the base?
Conversation
noteTypeId = note.notetypeId | ||
notetype = col.notetypes.get(noteTypeId)!! // not in libAnki |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does upstream do here? [in this class]
* @param key the first field of a note | ||
* @return a list of duplicate notes | ||
*/ | ||
public fun findDuplicateNotes( | ||
mid: Long, | ||
noteTypeId: Long, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -202,15 +202,15 @@ public class AddContentApi( | |||
|
|||
/** | |||
* Find all existing notes in the collection which have mid and a duplicate key | |||
* @param mid model id | |||
* @param noteTypeId model id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explanation was not updated
@@ -202,15 +202,15 @@ public class AddContentApi( | |||
|
|||
/** | |||
* Find all existing notes in the collection which have mid and a duplicate key |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line was not updated
@@ -495,10 +495,10 @@ public class AddContentApi( | |||
|
|||
/** | |||
* Get the name of the model which has given ID |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lots of 'model' in this file. Not sure if intentional
No description provided.