[Koha-bugs] [Bug 31385] opac-page: Allow searching a page by code in multilanguage env
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Aug 17 16:43:03 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31385
--- Comment #8 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Kyle M Hall from comment #7)
> (In reply to Marcel de Rooy from comment #4)
> > (In reply to Katrin Fischer from comment #3)
> > > We already have language as a parameter for other pages, like:
> > >
> > > OPACBASEURL/anypage?language=fr-FR
> > >
> > > Maybe we could make it match.
> >
> > Good point
>
> What makes sense to me is to pass the id and optionally the language. Look
> up the news item by id.
>
> We now have the code based on the id. If the language of this one doesn't
> match the given and logged in language, use the code from this one to look
> of the correct language version.
>
> This means we don't need to go mucking about in the database to find the
> code for the page.
>
> Does that make sense?
I will give it a try now
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list