kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
refactor(front): move podcast content category filter into script block
rodzic
de3d87a78f
commit
dafe957a26
|
|
@ -93,7 +93,8 @@ const fetchData = async () => {
|
|||
page_size: paginateBy.value,
|
||||
q: query.value,
|
||||
ordering: [orderingString.value] as ("creation_date" | "modification_date" | "-creation_date" | "-modification_date" | "-random" | "random")[],
|
||||
tag: tags.value
|
||||
tag: tags.value,
|
||||
content_category: podcast
|
||||
}
|
||||
|
||||
const measureLoading = logger.time('Fetching podcasts')
|
||||
|
|
@ -210,7 +211,7 @@ const showSubscribeModal = ref(false)
|
|||
:key="widgetKey"
|
||||
:limit="4"
|
||||
:show-modification-date="true"
|
||||
:filters="{q: subscribedQuery, subscribed: 'true', content_category:'podcast'}"
|
||||
:filters="{q: subscribedQuery, subscribed: 'true'}"
|
||||
/>
|
||||
</Section>
|
||||
<Header
|
||||
|
|
@ -328,7 +329,7 @@ const showSubscribeModal = ref(false)
|
|||
:key="widgetKey"
|
||||
:limit="paginateBy"
|
||||
:show-modification-date="true"
|
||||
:filters="{q: query, subscribed: 'false', content_category:'podcast'}"
|
||||
:filters="{q: query, subscribed: 'false'}"
|
||||
/>
|
||||
</Layout>
|
||||
<Layout
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue