http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4819

--- Comment #8 from Owen Leonard <oleon...@myacpl.org> ---
This change allows us to use some variation on the following JavaScript:
----
// Hide the "date due" column

// identify the header for the column we're hiding

var th = $("#item_datedue");

// Get the index of the header cell

var ind = $("#holdingst th").index(th);

// Indexes are zero-based but ":nth-child" starts at one, so increment

ind++;

// Hide the table header

$(th).hide();

// Hide each table cell within the holdings table which has the same
// index as the header cell we identified

$('#holdingst td:nth-child('+ind+')').hide();
----
Place that JS inside a $(document).ready() block in your OPACUserJS system
preference to automatically hide the specified column in the OPAC.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://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