Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Backend
Commits
21cc575d
Commit
21cc575d
authored
Sep 22, 2017
by
Maxym Borodenko
Browse files
"Results per page" functionality - incorrect behavior
parent
99276fc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/WEB-INF/jsp/accession/explore2.jsp
View file @
21cc575d
...
...
@@ -685,7 +685,9 @@
}
});
var
filter
=
JSON
.
stringify
(
jsonData
);
var
url
=
'
<c:url
value=
"/explore"
/>
'
+
'
?filter=
'
+
filter
+
"
&columns=
"
+
columns
.
toString
();
var
results
=
decodeURIComponent
((
new
RegExp
(
'
[?|&]results=
'
+
'
([^&;]+?)(&|#|;|$)
'
).
exec
(
location
.
search
)
||
[
null
,
''
])[
1
].
replace
(
/
\+
/g
,
'
%20
'
))
||
50
;
var
url
=
'
<c:url
value=
"/explore"
/>
'
+
'
?filter=
'
+
filter
+
"
&columns=
"
+
columns
.
toString
()
+
"
&results=
"
+
results
;
window
.
location
.
href
=
encodeURI
(
url
);
});
...
...
Write
Preview
Supports
Markdown
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