[Koha-bugs] [Bug 27358] Add GET /public/biblios/:biblio_id/items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 13 22:50:39 CEST 2021


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

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |Needs Signoff

--- Comment #24 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Katrin Fischer from comment #17)
> I am a little worried about the short list here:
> 
> +sub api_privileged_attrs {
> +    return [
> +        'checked_out_date',
> +        'checkouts_count',
> +        'holds_count',
> +        'internal_notes',
> +        'extended_subfields',
> +    ];
> +}
> +
> 
> Can you help me? Just wondering if it also uses the framework visibility,
> then I'd be happy already :)

If we leave more_subfields_xml/frameworks out of the item representation (we
have plans for that), would y'all help me refine this deny-list for the items?

I have just rebased this work and it still works nicely. If I don't get
feedback in a few days, I will move the 'public' layer work to another
(simpler) table, so other devs see the benefit from this and can work on top of
it.

My feeling is we can have a list of 'hidden in opac' attributes from the
'items' table,  and then we can sort visibility in the views. I might be wrong,
though. Looking for feedback.

Please PM me if you feel like there's a good use case that could be simpler
than this (I'm thinking accountlines).

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


More information about the Koha-bugs mailing list