Add a new filter in the sidebar?

63 views
Skip to first unread message

Carlos Moreno

unread,
Sep 18, 2025, 7:55:39 AMSep 18
to AtoM Users
Greetings to everyone in the community.
I have a problem with the sidebar. I want to add a new filter that appears in ISAD, which is Language Of Material.

Has anyone managed to modify the sidebar filters correctly?
I am using version 2.9 of Atom.

Is there any path or approach that can clarify this for me? 

Sarah Mason

unread,
Sep 18, 2025, 12:01:07 PMSep 18
to AtoM Users
Hi,

Modifying the sidebar to add a new filter would require doing some changes to the code base -- particularly to PHP and especially ElasticSearch.

How familiar are you with the AtoM code base? There isn't any documentation available on making those changes, but you if you are well versed in the code base there are some tips we can provide.

As far as we know, no one has customised the sidebar. However, if there are any other users out there with some custom code, please let us know!

Best wishes,
Sarah

--------
Sarah Mason
Contributor Success Specialist
Artefactual Systems Inc.
she/her


Johan Pieterse

unread,
Sep 21, 2025, 12:37:54 PMSep 21
to AtoM Users
Hi Carlos

All my changes is under //The Archives and Heritage Group
The problem is you have to create the field as an Elasticsearch index.
And future upgrades depends on you fixing this manually

mapping.yml in /var/www/html/atom28/plugins/arElasticSearchPlugin/config
arElasticSearchInformationObjectPdo.class.php in /var/www/html/atom28/plugins/arElasticSearchPlugin/lib/model
browseAction.class.php in /var/www/html/atom28/apps/qubit/modules/informationobject/actions
browseSuccess.php in /var/www/html/atom28/apps/qubit/modules/informationobject/templates

Then delete the index and populate again
curl -X DELETE "localhost:9200/atom"
php symfony search:populate

Johan Pieterse
The Archives and Heritage Group

mapping.yml
arElasticSearchInformationObjectPdo.class.php
browseSuccess.php
browseAction.class.php

Carlos Moreno

unread,
Sep 24, 2025, 10:11:40 AMSep 24
to AtoM Users
Muchas gracias Johan, había llegado a todos los archivos que comentas, excepto al mapping.yml y creo que allí voy a encontrar la solución. Te voy comentando de los avances y si lo logro
Reply all
Reply to author
Forward
0 new messages