Institution blog pagination broken when you first visit the Institution Journals page
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Aaron Wells | ||
15.10 |
Fix Released
|
Medium
|
Aaron Wells |
Bug Description
This patch ( https:/
But, the paginator JS automatically also takes this "1" from the query and passes it to the paginator script artefact/
tags: | added: admin institutions journals |
no longer affects: | mahara/16.04 |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To replicate:
1. Install Mahara
2. Create a new institution
3. Go to Administration -> Institutions -> Journals
4. Create more than 10 journals for your new institution
5. Again click the "Administration -> Institution -> Journals" link in the menu (so that you again get the starting "institution=1" URL)
6. Try to use pagination to see the rest of your journals
Expected result: You paginate to the second page of journals for the institution
Actual result: Pagination fails, and you see an error message about institution not being entirely alphabetic
This probably got overlooked during testing, because if you have just created a journal in an institution, then you get returned to the Journals page with the institution's name in the URL. It's only when you click the "Administration -> Institution -> Journals" link that you see the "1" in the URL.