[Koha-bugs] [Bug 27632] Add a more easily Javascript accessible biblionumber to each record in OPAC results

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 9 16:08:32 CET 2021


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

--- Comment #13 from Lucas Gass <lucas at bywatersolutions.com> ---
(In reply to Jonathan Druart from comment #12)
> Sorry to be picky here but, can you detail the use case?
> 
> I don't think we need the "bibliorow" class. My feeling is that we are
> missing an id on the table.
> 
> What you want seems to be:
> $("#id_table").find('tr').each(function(){ 
>     var biblionumber = $(this).data('biblionumber');
> });

Maybe we don't need this at all. You currently can:

$('#results tbody tr').each(function(){
   var biblionumber = $(this).find('input[name="biblionumber"]').val()
)

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


More information about the Koha-bugs mailing list