Skip to content

Commit 67c65f4

Browse files
authored
Merge pull request #723 from lcnetdev/copycat-result-count
Fix copycat always saying `show 10 of ...`
2 parents cac75ea + 406fcbb commit 67c65f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/views/CopyCat.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
There was an error getting the results: "{{ wcResults.error.message }}"
140140
</h2>
141141
<h2 v-else-if="wcResults?.results?.briefRecords && wcResults?.results?.numberOfRecords > 0 && !queryingWc">
142-
Showing 10 of {{ wcResults.results.numberOfRecords }} results </h2>
142+
Showing {{ wcResults.results.numberOfRecords > 10 ? 10 : wcResults.results.numberOfRecords }} of {{ wcResults.results.numberOfRecords }} results </h2>
143143
<!-- Pagination -->
144144
<div v-if="(wcResults.results && wcResults.results.numberOfRecords > wcLimit) && !queryingWc"
145145
class="wc-search-paging">

0 commit comments

Comments
 (0)