Skip to content

Commit

Permalink
fix: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnisDa committed Jan 18, 2025
1 parent a6297db commit bc827d5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
5 changes: 4 additions & 1 deletion apps/frontend/app/lib/state/collection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ export const useBulkEditCollection = () => {
.with("remove", () =>
clientGqlService
.request(CollectionContentsDocument, {
input: { take, collectionId: bec.collection.id },
input: {
search: { take },
collectionId: bec.collection.id,
},
})
.then((r) => r.collectionContents.results.items),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,9 @@ export const loader = async ({ request, params }: LoaderFunctionArgs) => {
serverGqlService.authenticatedRequest(request, CollectionContentsDocument, {
input: {
collectionId,
filter: {
entityLot: query.entityLot,
metadataLot: query.metadataLot,
},
sort: { by: query.sortBy, order: query.orderBy },
search: { page: query[pageQueryParam], query: query.query },
filter: { entityLot: query.entityLot, metadataLot: query.metadataLot },
},
}),
]);
Expand Down
4 changes: 2 additions & 2 deletions apps/frontend/app/routes/_dashboard.collections.list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -288,11 +288,11 @@ const DisplayCollection = (props: {
CollectionContentsDocument,
{
input: {
search: { take: 10 },
collectionId: props.collection.id,
take: 10,
sort: {
by: CollectionContentsSortBy.LastUpdatedOn,
order: GraphqlSortOrder.Desc,
by: CollectionContentsSortBy.LastUpdatedOn,
},
},
},
Expand Down
5 changes: 5 additions & 0 deletions docs/content/integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,11 @@ want to sync media progress, then take a look at the [Plex Sink](#plex-sink) int

### Youtube Music

!!! warn

This currently has a [bug](https://github.com/IgnisDa/ryot/issues/1186). Please do
not use this integration until the bug is fixed.

L|Pro Version|https://ryot.io|

The [Youtube Music](https://music.youtube.com) integration syncs all music that you have
Expand Down

0 comments on commit bc827d5

Please sign in to comment.