[Koha-bugs] [Bug 32923] x-koha-embed must be an enum
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Feb 9 17:36:07 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32923
--- Comment #7 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Tomas, Martin, I am seeing something weird with x-koha-embed here.
With a request with the following x-koha-header:
package_agreements,package_agreements.agreement,resources+count,vendor
I am correctly seeing it it Koha/REST/Plugin/Query.pm (in stash_embed)
However, I am getting the header later, using
$c->req->headers->header('x-koha-embed') and I am seeing "package_agreements"
only (!)
I guess I could use $c->stash('koha.embed') instead, but then it's no longer a
string an I need to change the logic in several places.
Is that expected?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list