Commit e470bc63 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic
Browse files

Bug 1711443: 'Show more' button in group P&C screen

In pagination.js, pagination_showmore function was
expecting the group value from the button clicked
to be a string, but it is a number.

.data() from jQuery converts a string representing
a number to an actual number.


Change-Id: If66231211c229f1cf18a5efb35236c2f90ad5a44
parent 5374019d
......@@ -313,7 +313,7 @@ function pagination_showmore(btn) {
var params = {};
params.offset = parseInt('offset'), 10);
params.orderby ='orderby');
if ('group').length) {
if (Number.isInteger('group'))) { ='group');
if ('institution').length) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment