Dear, we use AtoM 2.1.2 version and would like to include in Advanced Search the following fields: -creatorHistory -dates -notes -creators What changes do I need the source code to be able to search these fields ? Could anyone help ? Files that try to change : apps/qubit/modules/search/templates/_searchFields.php
apps/qubit/modules/search/actions/advancedAction.class.php
Thank you
Amarildo Oliveira.
creatorHistory -> $queryField->setFields(arElasticSearchPluginUtil::getI18nFieldNames('creators.i18n.%s.history'));
dates -> $queryField->setFields(arElasticSearchPluginUtil::getI18nFieldNames('dates.i18n.%s.date'));
notes -> $queryField->setFields(arElasticSearchPluginUtil::getI18nFieldNames('generalNotes.i18n.%s.content'));
creators -> $queryField->setFields(arElasticSearchPluginUtil::getI18nFieldNames('creators.i18n.%s.authorizedFormOfName'));
I think that's all. Let us know how it goes and if you need anything else.
Best regards.
Good luck!
--
You received this message because you are subscribed to the Google Groups "ICA-AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at http://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/7d2fcc47-d197-419e-b3f8-e17028d7be4e%40googlegroups.com.