Bug 31385: Allow searching a CMS page by code
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 17 Aug 2022 13:41:53 +0000 (13:41 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 19 Aug 2022 14:43:33 +0000 (11:43 -0300)
commit136c752ab1050e350c19fb1756e494559d81f91c
tree52d8e02b4f913bceb872a169c22df2950242c99d
parent0b9a82541b5f77c5aa91050566af45422bbc0918
Bug 31385: Allow searching a CMS page by code

Test plan:
Add a CMS page with two languages for it.
Look at the code column in the DB.
Try opac/opac-page.pl?code=[CODE]&lang=[LANG]. Test leaving lang
empty and passing various languages.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Edit: I squashed the lang => language patch
opac/opac-page.pl