Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
dataplatform
atlas
Commits
454eb66a
Commit
454eb66a
authored
7 years ago
by
kevalbhatt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-2167 : UI - Redirection of Pagination gives issue if user enter Page No.…
ATLAS-2167 : UI - Redirection of Pagination gives issue if user enter Page No. which does not exists
parent
30138316
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
SearchResultLayoutView.js
dashboardv2/public/js/views/search/SearchResultLayoutView.js
+1
-1
No files found.
dashboardv2/public/js/views/search/SearchResultLayoutView.js
View file @
454eb66a
...
@@ -389,7 +389,7 @@ define(['require',
...
@@ -389,7 +389,7 @@ define(['require',
var
pageNumber
=
that
.
activePage
+
1
;
var
pageNumber
=
that
.
activePage
+
1
;
if
(
goToPage
)
{
if
(
goToPage
)
{
pageNumber
=
goToPage
;
pageNumber
=
goToPage
;
that
.
offset
=
that
.
offset
-
((
parseInt
(
pageNumber
,
10
)
-
1
)
*
that
.
limit
)
;
that
.
offset
=
(
that
.
activePage
-
1
)
*
that
.
limit
;
}
else
{
}
else
{
that
.
ui
.
nextData
.
attr
(
'disabled'
,
true
);
that
.
ui
.
nextData
.
attr
(
'disabled'
,
true
);
that
.
offset
=
that
.
offset
-
that
.
limit
;
that
.
offset
=
that
.
offset
-
that
.
limit
;
...
...
This diff is collapsed.
Click to expand it.
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