added opac search codes