mirror of
https://github.com/chrisbenincasa/tunarr.git
synced 2026-04-18 09:03:35 -04:00
feat!: introduce smart collections (#1436)
Smart Collections are no more than saved searches, currently. This feature allows saving a freestyle query for later use. This will eventually be a basic building block of dynamically updating lineups.
This commit is contained in:
committed by
GitHub
parent
71416520ea
commit
5183eae8e0
@@ -103,7 +103,7 @@ export const LibraryProgramGrid = ({
|
||||
return {
|
||||
query: searchRequest?.query,
|
||||
filter,
|
||||
restrictSeachTo: searchRequest?.restrictSearchTo,
|
||||
restrictSearchTo: searchRequest?.restrictSearchTo,
|
||||
};
|
||||
}, [
|
||||
currentParentContext,
|
||||
@@ -200,14 +200,10 @@ export const LibraryProgramGrid = ({
|
||||
|
||||
return (
|
||||
<Box sx={{ mt: 1 }}>
|
||||
{depth === 0 && (
|
||||
<>
|
||||
{!isUndefined(totalHits) && (
|
||||
<Typography textAlign="right" variant="subtitle2">
|
||||
Total hits: {totalHits >= 1000 ? '>1000' : totalHits}
|
||||
</Typography>
|
||||
)}
|
||||
</>
|
||||
{depth === 0 && !isUndefined(totalHits) && (
|
||||
<Typography textAlign="right" variant="subtitle2">
|
||||
Total hits: {totalHits >= 1000 ? '>1000' : totalHits}
|
||||
</Typography>
|
||||
)}
|
||||
{search.isLoading && <LinearProgress />}
|
||||
{viewType === 'grid' ? (
|
||||
|
||||
Reference in New Issue
Block a user