Skip to content
Snippets Groups Projects
Commit 92a6dc3c authored by Paul Pestov's avatar Paul Pestov
Browse files

feat: add total results display at search page

closes #86
parent d953cf5c
Branches
Tags
1 merge request!44feat: add total results display at search page
Pipeline #216763 passed
<template>
<form @submit="onSubmit">
<v-row class="mb-5">
<v-row class="mb-2">
<v-col
cols="6"
class="d-flex align-top input-container"
......
<template>
<div>
<SearchInput @search="onSearchInput" />
<p
v-if="total > 0"
class="text-overline mb-0"
>{{total}} Results</p>
<SearchResultList :items="items" />
<div class="text-center">
<v-pagination
......
......@@ -5,7 +5,7 @@
subheader
v-if="items.length > 0"
>
<v-list-item v-for="item in items" :key="item.item">
<v-list-item v-for="item in items" :key="item.item" class="pl-0">
<v-list-item-content>
<a :href="getItemUrl(item)" target="_blank">
<v-list-item-title>{{item.label}}</v-list-item-title>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment