| Summary: | By default sort suggestions from latest to oldest | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Fridolin Somers <fridolin.somers> |
| Component: | Acquisitions | Assignee: | Fridolin Somers <fridolin.somers> |
| Status: | ASSIGNED --- | QA Contact: | Testopia <testopia> |
| Severity: | normal | ||
| Priority: | P5 - low | CC: | e.betemps, lucas, r.j.wijlens |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27813 | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Bug Depends on: | 32603 | ||
| Bug Blocks: | |||
If OK I'll provide a patch Could we make the sort configurable using the new Datatables options? I believe some libraries might want the one or the other (LIFO or FIFO...) You mean like Bug 24156 Looks like the column can be defined but not the ascending or descending order. Would need a new config Ah also Bug 32603 added a new column without changing default sorting column I support the wish for sorting options for the suggestions table. Or at least have the latest suggestions at the top. |
Currently suggestions table is sorted from oldest to latest. From suggestion.tt : KohaTable("table_[% loop.count| html %]", { "sorting": [[ 3, "asc" ]], Since the default tab is pending suggestions, it would be better to have the reverse order. Some old suggestions may stay in pending for a while and librarian must be aware of new suggestions.