Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
K
karname-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Reza Sahebgharan
karname-ui
Commits
a14fad1b
Commit
a14fad1b
authored
Feb 17, 2020
by
Reza Sahebgharan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(count bug): edit limit to be equal to count
parent
ec45d803
Pipeline
#1058
passed with stage
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
RegisterRoute.vue
client/components/RegisterRoute.vue
+13
-6
No files found.
client/components/RegisterRoute.vue
View file @
a14fad1b
...
...
@@ -237,7 +237,11 @@
<v-card>
<v-card-actions>
<v-col
cols=
"9"
>
<v-text-field
:label=
"$t('RegisterRoute.advancedSearchLabel')"
v-model=
"queryText"
style=
"direction:ltr"
></v-text-field>
<v-text-field
:label=
"$t('RegisterRoute.advancedSearchLabel')"
v-model=
"queryText"
style=
"direction:ltr"
></v-text-field>
</v-col>
<v-col
cols=
"3"
class=
"d-flex align-center justify-center"
>
<v-btn
class=
"primary"
@
click=
"searchServerSide"
>
{{$t("RegisterRoute.searchBtn")}}
</v-btn>
...
...
@@ -411,13 +415,14 @@ export default {
searchServerSide
()
{
try
{
this
.
query
=
JSON
.
parse
(
this
.
queryText
);
this
.
limit
=
40
;
this
.
limit
=
this
.
count
+
5
;
// this.limit = 40;
}
catch
(
e
)
{
this
.
alertText
=
this
.
$t
(
"RegisterRoute.jsonParseError"
);
this
.
alertSnackbar
=
true
;
this
.
query
=
null
;
this
.
limit
=
40
;
this
.
limit
=
this
.
count
+
5
;
// this.limit = 40;
}
}
},
...
...
@@ -452,7 +457,8 @@ export default {
this
.
alertText
=
this
.
$t
(
"RegisterRoute.dbError"
);
this
.
alertSnackbar
=
true
;
this
.
query
=
null
;
this
.
limit
=
40
;
this
.
limit
=
this
.
count
+
5
;
// this.limit = 40;
}
}
}
...
...
@@ -498,7 +504,8 @@ export default {
}
catch
(
e
)
{
this
.
alertText
=
this
.
$t
(
"RegisterRoute.dbError"
);
this
.
alertSnackbar
=
true
;
this
.
limit
=
40
;
this
.
limit
=
this
.
count
+
5
;
// this.limit = 40;
return
[];
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment