Summary: | Redisplay OPAC list with correct sort after edit | ||
---|---|---|---|
Product: | Koha | Reporter: | Marc Véron <veron> |
Component: | OPAC | Assignee: | Owen Leonard <oleonard> |
Status: | CLOSED WORKSFORME | QA Contact: | |
Severity: | minor | ||
Priority: | P5 - low | CC: | jonathan.druart, kyle, veron |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Attachments: |
Bug 8324 - Redisplay OPAC list with correct sort after edit
Bug 8324 - Redisplay OPAC list with correct sort after edit |
Description
Marc Véron
2012-06-27 09:56:38 UTC
Created attachment 20280 [details] [review] Bug 8324 - Redisplay OPAC list with correct sort after edit If you are viewing the contents of a list, edit it, change the default sort, and save your list will be redisplayed sorted by title no matter what default sort you chose. Lists do not automatically sort by their default sort, they must be opened with the sort parameter. This patch adds the list's sort parameter to the redirect after editing. To test, open an existing list in the OPAC which contains items. Click the "Edit list" link at the top of the list contents view. Change the default sort to something new. Click "Save." If the list is redisplayed using the new default sort the patch worked. Created attachment 20348 [details] [review] Bug 8324 - Redisplay OPAC list with correct sort after edit If you are viewing the contents of a list, edit it, change the default sort, and save your list will be redisplayed sorted by title no matter what default sort you chose. Lists do not automatically sort by their default sort, they must be opened with the sort parameter. This patch adds the list's sort parameter to the redirect after editing. To test, open an existing list in the OPAC which contains items. Click the "Edit list" link at the top of the list contents view. Change the default sort to something new. Click "Save." If the list is redisplayed using the new default sort the patch worked. Signed-off-by: Galen Charlton <gmc@esilibrary.com> Quite odd, I cannot reproduce the issue. Without the patch: Opac > lists > my list. The default sort is "title". I am on the list results view and I click on the "Edit list" link. I change the "Sort this list by" value to "author", save. The results list is sorted by author. What I miss? (In reply to Jonathan Druart from comment #3) > Quite odd, I cannot reproduce the issue. > Without the patch: > Opac > lists > my list. > The default sort is "title". I am on the list results view and I click on > the "Edit list" link. I change the "Sort this list by" value to "author", > save. > The results list is sorted by author. > > What I miss? I too cannot reproduce this bug. Kyle Marking as Failed QA until we have a resolution for this. Owen, can you retest and let us know if you think this patch is still necessary? I reported this bug in 2012. I can no longer reproduce the behaviour on current master (3.15.00.028) I hope it's OK to set it to RESOLVED WORKSFORME Marc |