Full list of "occupation"-terms in the Authority record results menu

65 views
Skip to first unread message

Rasmus Lindgren

unread,
Sep 11, 2018, 7:04:29 AM9/11/18
to AtoM Users
Hi!
We have a narrow results-menu for occupation in the results page for authority records. (https://arken.kb.se/actor/browse?sf_culture=en&sort=alphabetic)
The problem is that you can only see the top 10 occupations and there is no way to expand it or view a full list of terms.
Is there a way to change it into a browse-menu where you can scroll down?  Or another option?
Kind regards/
Rasmus Lindgren, Archivist National Library of Sweden

Gomes Silva

unread,
Sep 12, 2018, 7:00:15 AM9/12/18
to AtoM Users
Hello,

I also wonder if this page (https://arken.kb.se/Journalister) was meant to show a list of associated authorities, the same way this page (https://arken.kb.se/norrbotten) shows the list of associated descriptions. Is that a bug?

Dan Gillean

unread,
Sep 12, 2018, 10:35:28 AM9/12/18
to ICA-AtoM Users
Hello Rasmus and Gomes, 

The Actors occupation access points were added on a limited budget, re-using the existing functionality of the facets for browsing. By default, facets in AtoM will only show up to the top 10 most popular results. While we have long wanted to add options to expand this functionality (see for example this Wishlist ticket, the Getty Search Gateway's implementation of filters, which we like for reference on possible future design, and the DPLA's scrolling filter list as another possible model), it will require significant feature development for us to be able to expand the facets to show more results. 

Gomes is right to point out that the taxonomy's view page can be used by authenticated users to browse all occupation terms. At this time, the view page for a particular term does not show related authority record results - it is reusing a page type (such as the one used to show results for subject and place access points) that normally shows archival description results. Again, we would love to see development to be able to make this page publicly accessible, and to allow it to show related authority record results when an Occupation term is selected. This will require community support for us to implement, however - either in the form of development sponsorship or code contributions. For more information on our development philosophy and maintenance model, see: 
While changing AtoM's facets to be able to show more results (or operate as filters, allowing combinations, etc) would likely be a larger development project, I believe that adding a publicly accessible results page for Occupations would be more modest. If either of you or anyone else is interested in potentially sponsoring such development, please feel free to contact me off-list. 

Regards, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory


--
You received this message because you are subscribed to the Google Groups "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 https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/d972c2a9-6102-486b-894b-2668209e4953%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rasmus Lindgren

unread,
Sep 12, 2018, 11:09:32 AM9/12/18
to AtoM Users
Hi Dan,
Thanks for the reply!
/Rasmus

Lise Summers

unread,
Sep 12, 2018, 10:46:31 PM9/12/18
to AtoM Users
Thanks, Dan, for providing some background on the 'occupations' taxonomy.  It confused us a little in Australia, when it suddenly popped up in our test of 2.4. Because our collection is mainly focused on government agencies, we're exploring the possibility of using Legal Status rather than 'occupation'. I think, in an international community, there may need to be some more discussion about the uses of various taxonomies, and especially if there is to be any mandated or recommended list of entities (longshoreman vs wharfie in LCSH has scarred me somewhat!)

Lise Summers

Nacho Alonso

unread,
Oct 10, 2019, 4:09:16 AM10/10/19
to AtoM Users
Hi! 
We made a small development to show the list of authorities related to an occupation. 
We tested it in AtoM 2.4.0 and AtoM 2.4.1 
The files to replace are: 
/apps/qubit/modules/term/actions/indexAction.class.php 
/apps/qubit/modules/term/templates/indexSuccess.php 
And restart the PHP service.
I wish it was useful...
Regards,

Nacho Alonso Martín

617.56.97.11 - 981.53.50.46

R/ Agro do Medio, 7 4º A. 15895

Ames-Santiago de Compostela (A Coruña)

nal...@datalib.es

http://www.datalib.es

 

CONFIDENCIALIDAD. El contenido de este mensaje, así como el de toda la documentación anexa, es confidencial y va dirigido únicamente al destinatario del mismo. En el caso de que usted no fuera el destinatario, le solicitamos que nos lo indique y no comunique el contenido de este correo a terceros, procediendo a su destrucción. La distribución o copia de este mensaje no está permitido.

Si no desea recibir más mensajes de esta cuenta de correo por favor, envíe un correo a in...@datalib.es indicando en el asunto DARME DE BAJA.

 

Cuide del medio ambiente, no imprima este correo si no es necesario

 

indexSuccess.php
indexAction.class.php

Dan Gillean

unread,
Oct 10, 2019, 6:07:44 PM10/10/19
to ICA-AtoM Users
Hi Nacho, 

Wonderful - thank you for sharing! 

Out of curiousity, I tried adding your files to a qa/2.6.x test instance. Unfortunately, they did not work - I got a 500 error. I found the following entries in the logs: 

2019/10/10 21:53:54 [error] 6841#6841: *1 FastCGI sent in stderr: "PHP message: The template "privacyMessageDismissSuccess.php" does not exist or is unreadable in """ while reading response header from upstream, client: 10.10.10.1, server:_, request: "GET /default/privacyMessageDismiss HTTP /1.1", upstream: "fastcgi://unix:/var/run/php-fpm.atom.sock:", host: "10. 10.10.10", referrer: "http://10.10.10.10/

2019/10/10 21:54:03 [error] 619#619: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to a member function toArray( ) on null in /usr/share/nginx/atom/apps/qubit/modules/term/actions/indexAction.class.php:382 Stack trace: 
#0 /usr/share/nginx/atom/cache/qubit/prod/config/config_core_compile.yml.php(966): TermIndexAction->execute(Object(sfWebRequest)) 
#1 /usr/share/nginx/atom/cache/qubit/prod/config/config_core_compile.yml.php(961): sfExecutionFilter->executeAction(Object(TermIndexAction)) 
#2 /usr/share/nginx/atom/cache/qubit/prod/config/config_core_compile.yml.php(947): sfExecutionFilter->handleAction(Object(sfFilterChain), Object(T ermIndexAction)) 
#3 /usr/share/nginx/atom/cache/qubit/prod/config/config_core_compile.yml.php(1045): sfExecutionFilter->execute(Object(sfFilterChain)) 
#4 /usr/share/nginx/atom/vendor/symfony/lib/filter/sfCacheFilter.class.php(65): sfFilterChain->execute() 
#5 /usr/share/nginx/atom/cache/qubit/prod/config/config_core_compile.yml.php(1045): sfCacheFilter->execute(Object(sfFilterChain)) 
#6 /usr/share/nginx/atom/lib/f" while reading response header from upstream, client: 10.10.10.1, server: _, request: "GET /accountant HTTP/1.1", u pstream: "fastcgi://unix:/var/run/php-fpm.atom.sock:", host: "10.10.10.10", referrer: "http://10.10.10.10/actor-occupations

The first is likely because the privacy notification banner was on and being displayed in my header when I navigated to the term - this feature was added in 2.5.0 so I am not surprised to see a message about it here. 

I'm nor sure about the second, but given that AtoM 2.4 and earlier run on PHP 5.x and we have switched to PHP 7.x in the 2.5 release, I'm not surprised to see compatibility issues. 

If you decide to update this against our 2.6 development branch, please consider sending a pull request! See: 
In the meantime, thanks again for sharing this - I hope it might be useful to AtoM 2.4 users! 

Cheers, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory
--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages