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

Pedro Amorim <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #173217|0                           |1
        is obsolete|                            |

--- Comment #2 from Pedro Amorim <[email protected]> ---
Created attachment 173223
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173223&action=edit
Bug 38240: Do not hide columns if no items to display

If you filter items using the column filters and that no item are displayed,
all columns will be hidden (because no data for those columns) and it is then
impossible to reset the filters show items again.

Test plan:
http://localhost:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=4
All items are from CPL
Select another library
=> No items displayed
Without this patch the headers are hidden and it's impossible to modify
the filters
With this patch the columns that were displayed on the last draw are
still there, letting you modify the filters

Of course there might have other problematic situations.
Say you have a lot of items, and you filter on a column that will lead
to display some items without data for this column, the filter will be
hidden and there will be no way to show it again.

Signed-off-by: Pedro Amorim <[email protected]>

-- 
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