Pager in search in a block doesn't work
Bug #1218091 reported by
Kristina Hoeppner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Robert Lyon | ||
1.5 |
Fix Released
|
High
|
Robert Lyon | ||
1.6 |
Fix Released
|
High
|
Robert Lyon | ||
1.7 |
Fix Released
|
High
|
Robert Lyon |
Bug Description
Confirmed on demo.mahara.org
When you have more than 10 text boxes with a similar title and search for them, the correct number of results is shown on the first page below the results, but when you move to the second page, the number of results change and thus the search term is not respected anymore.
E.g. I have 16 text boxes altogether. When I search for "portfolios", I get 8 results on the first page. When I move to the second page, suddenly I have 12 results and when I go to the third page, I have 14 results.
Since the search in the blocks "Journal entry" and "Journal" is essentially the same, these blocks are most likely also affected.
tags: | added: regression |
Changed in mahara: | |
milestone: | 1.8.0rc1 → 1.7.3 |
milestone: | 1.7.3 → 1.8.0rc1 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
milestone: | 1.8rc1 → 1.8.0 |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
the problem was the search term was being truncated by 4 chars each time it was being passed back to pagination so you would have been searching thus:
portfolios
portfo
po
then for nothing
this was a left over problem when the returned url used to end in but later on ended in & so too many char were being stripped from the url
have added patches to fix this problem
https:/ /reviews. mahara. org/#/c/ 2446/ /reviews. mahara. org/#/c/ 2447/ /reviews. mahara. org/#/c/ 2448/ /reviews. mahara. org/#/c/ 2449/
https:/
https:/
https:/