Pager in search in a block doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Mahara |
High
|
Robert Lyon | ||
| 1.5 |
High
|
Robert Lyon | ||
| 1.6 |
High
|
Robert Lyon | ||
| 1.7 |
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 |
Reviewed: https:/
Committed: http://
Submitter: Aaron Wells (<email address hidden>)
Branch: 1.7_STABLE
commit aa8e3a1942444e6
Author: Robert Lyon <email address hidden>
Date: Thu Aug 29 15:22:41 2013 +1200
Fix for pagination when in edit blockinstance doing search (bug 1218091)
Change-Id: Ic24920d47e40f2
Signed-off-by: Robert Lyon <email address hidden>
Mahara Bot (dev-mahara) wrote : | #3 |
Reviewed: https:/
Committed: http://
Submitter: Aaron Wells (<email address hidden>)
Branch: 1.5_STABLE
commit 755dda4f64270dc
Author: Robert Lyon <email address hidden>
Date: Thu Aug 29 15:29:38 2013 +1200
Fix for pagination when in edit blockinstance doing search (bug 1218091)
Change-Id: I0cc4d4a57b5bb3
Signed-off-by: Robert Lyon <email address hidden>
Mahara Bot (dev-mahara) wrote : | #4 |
Reviewed: https:/
Committed: http://
Submitter: Aaron Wells (<email address hidden>)
Branch: 1.6_STABLE
commit d70745a89db2db6
Author: Robert Lyon <email address hidden>
Date: Thu Aug 29 15:26:25 2013 +1200
Fix for pagination when in edit blockinstance doing search (bug 1218091)
Change-Id: I3bba238312182d
Signed-off-by: Robert Lyon <email address hidden>
Aaron Wells (u-aaronw) wrote : | #5 |
I split off part of https:/
Mahara Bot (dev-mahara) wrote : | #6 |
Reviewed: https:/
Committed: http://
Submitter: Aaron Wells (<email address hidden>)
Branch: master
commit 93dd97eee511afa
Author: Robert Lyon <email address hidden>
Date: Thu Aug 29 15:22:41 2013 +1200
Fix for pagination when in edit blockinstance doing search (bug 1218091)
Change-Id: Ic24920d47e40f2
Signed-off-by: Robert Lyon <email address hidden>
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 |
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:/