Add filters and columns for hardcover rating and review count

This commit is contained in:
aditya.chandel
2025-05-31 14:32:07 -06:00
committed by Aditya Chandel
parent 4c3d9423fd
commit 8518e57d92
4 changed files with 12 additions and 6 deletions
@@ -127,6 +127,8 @@ export class BookBrowserComponent implements OnInit, AfterViewInit {
{label: 'Amazon #', icon: '', field: 'amazonReviewCount', command: () => this.sortBooks('amazonReviewCount')},
{label: 'Goodreads Rating', icon: '', field: 'goodreadsRating', command: () => this.sortBooks('goodreadsRating')},
{label: 'Goodreads #', icon: '', field: 'goodreadsReviewCount', command: () => this.sortBooks('goodreadsReviewCount')},
{label: 'Hardcover Rating', icon: '', field: 'hardcoverRating', command: () => this.sortBooks('hardcoverRating')},
{label: 'Hardcover #', icon: '', field: 'hardcoverReviewCount', command: () => this.sortBooks('hardcoverReviewCount')},
{label: 'Pages', icon: '', field: 'pageCount', command: () => this.sortBooks('pageCount')}
];