We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3d90a05 + 5a909c8 commit 2e11f11Copy full SHA for 2e11f11
1 file changed
src/components/BookCardGroup.tsx
@@ -161,6 +161,13 @@ const BookCardGroupInner: React.FunctionComponent<IProps> = (props) => {
161
if (search.totalMatchingRecords < maxCardsToRetrieve) {
162
countToShow = books.length;
163
}
164
+ // If we don't have either kind of secondary filter, we can just show the number that the query results indicate.
165
+ if (
166
+ !props.collection.secondaryFilter &&
167
+ !props.collection.duplicateBookFilterName
168
+ ) {
169
+ countToShow = search.totalMatchingRecords;
170
+ }
171
172
// As of 11/2021, this skip stuff is not really being used. In theory it would all still work if
173
// anything initiated the skipping. But our more cards now just loads the whole (filtered) collection.
0 commit comments