Summary: | Lists sorted by year appear to be empty | ||
---|---|---|---|
Product: | Koha | Reporter: | Owen Leonard <oleonard> |
Component: | Lists | Assignee: | Owen Leonard <oleonard> |
Status: | CLOSED FIXED | QA Contact: | Bugs List <koha-bugs> |
Severity: | normal | ||
Priority: | PATCH-Sent (DO NOT USE) | CC: | chris, chrish |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
URL: | /cgi-bin/koha/opac-shelves.pl?viewshelf=X&sortfield=year | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | |||
Bug Blocks: | 3229 | ||
Attachments: |
Proposed fix
Signed off patch |
Description
Owen Leonard
2011-05-24 16:10:14 UTC
Created attachment 4245 [details] [review] Proposed fix The SQL pulls biblioitems.publicationyear. Changing this to 'biblioitems.publicationyear as year,'. Created attachment 4254 [details] [review] Signed off patch Easy to test fix, pushed please test on master This is fixed as far as making the list display, but at least with my data the sort doesn't actually work: It's trying to sort by biblioitems.publicationyear. biblioitems.publicationyear is empty because in the default MARC21 mapping publicationyear isn't mapped to anything. |