Sort browse migration manga selection by title
This commit is contained in:
@@ -624,7 +624,14 @@ export type GetMangasDuplicatesQueryVariables = Exact<{
|
||||
export type GetMangasDuplicatesQuery = { __typename: 'Query', mangas: { __typename: 'MangaNodeList', totalCount: number, nodes: Array<{ __typename: 'MangaType', description: string | null, id: number, title: string, thumbnailUrl: string | null, thumbnailUrlLastFetched: string | null, inLibrary: boolean, initialized: boolean, sourceId: string, unreadCount: number, downloadCount: number, bookmarkCount: number, hasDuplicateChapters: boolean, chapters: { __typename: 'ChapterNodeList', totalCount: number } }>, pageInfo: { __typename: 'PageInfo', endCursor: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null } } };
|
||||
|
||||
export type GetMigratableSourceMangasQueryVariables = Exact<{
|
||||
sourceId: string;
|
||||
after?: string | null | undefined;
|
||||
before?: string | null | undefined;
|
||||
condition?: Types.MangaConditionInput | null | undefined;
|
||||
filter?: Types.MangaFilterInput | null | undefined;
|
||||
first?: number | null | undefined;
|
||||
last?: number | null | undefined;
|
||||
offset?: number | null | undefined;
|
||||
order?: Array<Types.MangaOrderInput> | Types.MangaOrderInput | null | undefined;
|
||||
}>;
|
||||
|
||||
|
||||
|
||||
@@ -239,8 +239,26 @@ export const GET_MANGAS_DUPLICATES = gql`
|
||||
export const GET_MIGRATABLE_SOURCE_MANGAS = gql`
|
||||
${MANGA_MIGRATION_FIELDS}
|
||||
|
||||
query GET_MIGRATABLE_SOURCE_MANGAS($sourceId: LongString!) {
|
||||
mangas(condition: { sourceId: $sourceId, inLibrary: true }) {
|
||||
query GET_MIGRATABLE_SOURCE_MANGAS(
|
||||
$after: Cursor
|
||||
$before: Cursor
|
||||
$condition: MangaConditionInput
|
||||
$filter: MangaFilterInput
|
||||
$first: Int
|
||||
$last: Int
|
||||
$offset: Int
|
||||
$order: [MangaOrderInput!]
|
||||
) {
|
||||
mangas(
|
||||
after: $after
|
||||
before: $before
|
||||
condition: $condition
|
||||
filter: $filter
|
||||
first: $first
|
||||
last: $last
|
||||
offset: $offset
|
||||
order: $order
|
||||
) {
|
||||
nodes {
|
||||
...MANGA_MIGRATION_FIELDS
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user