[Koha-bugs] [Bug 15441] columns_settings.pl: Circulation issues-table - cannot toggle checkin column

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 14 20:04:31 CET 2017


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

Christopher Brannon <cbrannon at cdalibrary.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cbrannon at cdalibrary.org

--- Comment #3 from Christopher Brannon <cbrannon at cdalibrary.org> ---
We hide the Check in column with css (display:none) instead of removing the
column.  There can be issues with removing a column completely.  This is the
simplest method we found.

Anyway, regarding the button, we simply relabel the button with jQuery.  Is it
possible to modify the button code to change the label or hide it altogether
based on which columns are visible?  So, it would be code right where the
button is displayed that would determine what is on the label.

For example, 
* Button normally displays "Renew or check in selected" (The shorter the
better)
* Button displays "Renew selected" if the Check in column is hidden
* Button displays "Check in selected" if Renew column is hidden
* Button is hidden if both Renew and Check in columns are hidden (up for
discussion if the Renew all button should also be hidden if the renew column is
hidden)

I don't think it is wise to have an option for a particular column in a
separate preference.  It makes sense to have it all together like this.  Keeps
it simple.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list