https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38196

--- Comment #2 from Jan Kissig <[email protected]> ---
Created attachment 199411
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199411&action=edit
Bug 38196: Fix filter in catalog concerns to show tickets where status is NULL

This patch fixes issues on catalog concerns when filtering for self defined
authorized values (AV).
When querying for status != AV, also rows with status = NULL are omitted as SQL
here only checks for defined values in status.
The patch wraps the a filter query with an 'or status is NULL'.

Test plan:
apply patch dependencies (42283) if not already included and run restart_all
a) enable system preference CatalogConcerns
b) create some authorised values in TICKET_STATUS
c) create several concerns/tickets (biblio detail page -> new catalog concern)
d) go to /cgi-bin/koha/cataloguing/concerns.pl and change some ticket status to
have some variation for filtering
e) play with the filters on the top (resolved and self created TICKET_STATUS)
- when clicking 'Filter resolved' tickets with status 'Resolved by ... date'
get filtered
- when filtering self created TICKET_STATUS values tickets with that status AND
tickets with status Open are disappearing
f) apply patch and run restart_all
g) retry steps in e) and check that only the filtered status are filtered from
the results list.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to