Added sorting to the collections table, and fixed a bug that was refreshing the underlying table while users may be selecting a sort option.
This commit is contained in:
@@ -268,8 +268,9 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn test_collections_blocks_contents() {
|
||||
assert_eq!(COLLECTIONS_BLOCKS.len(), 6);
|
||||
assert_eq!(COLLECTIONS_BLOCKS.len(), 7);
|
||||
assert!(COLLECTIONS_BLOCKS.contains(&ActiveRadarrBlock::Collections));
|
||||
assert!(COLLECTIONS_BLOCKS.contains(&ActiveRadarrBlock::CollectionsSortPrompt));
|
||||
assert!(COLLECTIONS_BLOCKS.contains(&ActiveRadarrBlock::SearchCollection));
|
||||
assert!(COLLECTIONS_BLOCKS.contains(&ActiveRadarrBlock::SearchCollectionError));
|
||||
assert!(COLLECTIONS_BLOCKS.contains(&ActiveRadarrBlock::FilterCollections));
|
||||
|
||||
Reference in New Issue
Block a user