MADS fields not showing up in Views sort criteria

18 views
Skip to first unread message

Mark Jordan

unread,
Sep 6, 2018, 11:08:26 PM9/6/18
to islandora

Hi everyone,


We're probably missing something obvious, but we want to create a View of our Scholar entities where the entries are sorted by family name. Problem is that none of the MADS elements are showing up in Views' sort criteria. How have people created sorted views of their people entities? UPEI has one for example - https://islandscholar.ca/scholars.


Mark

R Le Faive

unread,
Sep 7, 2018, 5:28:15 PM9/7/18
to islandora
Hi Mark,

We use the following in MADS:

<mads xsi:schemaLocation="http://www.loc.gov/mads/v2 http://www.loc.gov/standards/mads/mads.xsd">
 
<authority>
   
<name type="personal">
     
<namePart type="given">Donald</namePart>
     
<namePart type="family">Moses</namePart>
   
</name>
   
<titleInfo>
     
<title>Donald Moses</title>
   
</titleInfo>
 
</authority>
</mads>

We use a modified MADS-to-solr xslt, attached, that puts the first personal name in to single valued fields. 


MADS_to_solr.xslt

Mark Jordan

unread,
Sep 7, 2018, 5:42:00 PM9/7/18
to islandora

Thanks Rosie. I was suspecting that none of the MADS fields were showing up in the sort criteria because they are all "_m" (multivalued); if that is why they are not, your single-value modification is probably the secret sauce I'm seeking. I'll try it over the weekend to see what happens (can't touch the production site now).


Thanks!


Mark




From: isla...@googlegroups.com <isla...@googlegroups.com> on behalf of R Le Faive <lef...@gmail.com>
Sent: Friday, September 7, 2018 2:28 PM
To: islandora
Subject: [islandora] Re: MADS fields not showing up in Views sort criteria
 
--
For more information about using this group, please read our Listserv Guidelines: http://islandora.ca/content/welcome-islandora-listserv
---
You received this message because you are subscribed to the Google Groups "islandora" group.
To unsubscribe from this group and stop receiving emails from it, send an email to islandora+...@googlegroups.com.
Visit this group at https://groups.google.com/group/islandora.
To view this discussion on the web visit https://groups.google.com/d/msgid/islandora/e004ecf4-d650-4a35-b5f9-c124d8b650cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mark Jordan

unread,
Sep 12, 2018, 3:58:54 PM9/12/18
to islandora

Rosie, thanks very much, your stylesheet did the trick.


Mark




From: isla...@googlegroups.com <isla...@googlegroups.com> on behalf of Mark Jordan <mjo...@sfu.ca>
Sent: Friday, September 7, 2018 2:41 PM
To: islandora
Subject: Re: [islandora] Re: MADS fields not showing up in Views sort criteria
 
Reply all
Reply to author
Forward
0 new messages