https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31742
Bug ID: 31742
Summary: Highlight logged-in library holdings on add/edit items
screen (additem.pl)
Change sponsored?: ---
Product: Koha
Version: 21.11
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Cataloging
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
It would be helpful in a consortia setting where many different libraries are
sharing a single record to make items owned by the logged-in library stand out
in the table at additem.pl. Highlighting an item's home library if it matches
logged-in library is an easy visual indicator.
I wrote some JS for this using the currentlibrary class added with bug 10902:
var loggedBranch = $("#logged-in-info-full .logged-in-branch-name").text();
var colIndex = $('#cat_additem th:contains("Home library")').index() + 1;
$('#cat_additem tr td:nth-child(' + colIndex + ')').each(function () {
if (this.textContent == loggedBranch) {
$(this).wrapInner('<span class="currentlibrary"></span>');
}
});
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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/