<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Georgia;
        panose-1:2 4 5 2 5 4 5 2 3 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Good memory – looks like I missed that email conversation first time around.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">I think we surmounted the problem by using a local grouping function on the person view, which built on the [creators_id, editors_id]
 for internal users in the same way as your view.&nbsp; The grouping function excludes entries from the sections hash of arrays it returns, where it can’t find the creators_id (or editors_id) in the user table.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Alan<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
<b>On Behalf Of </b>Matthew Kerwin<br>
<b>Sent:</b> 13 September 2017 00:50<br>
<b>To:</b> eprints-tech@ecs.soton.ac.uk<br>
<b>Subject:</b> Re: [EP-tech] Unknown entries in creator browse<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Georgia&quot;,serif;color:#073763">Wow, this discussion was ringing a lot of bells for me.&nbsp; I've (finally) managed to dig up this old thread:&nbsp;<a href="http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/2014-December/003730.html">http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/2014-December/003730.html</a><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Georgia&quot;,serif;color:#073763"><o:p>&nbsp;</o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Georgia&quot;,serif;color:#073763">If anyone's interested, I ended up hacking&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;color:#274E13">EPrints::Update::Views::fieldlist_sizes</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Georgia&quot;,serif;color:#073763">&nbsp;to let me specify my own top-level SELECT function for the view.<o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Georgia&quot;,serif;color:#073763"><o:p>&nbsp;</o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Georgia&quot;,serif;color:#073763">Also, I recently did this:
<a href="https://github.com/eprints/eprints/commit/2f9d827397680279d0a59808f8559306d0be8bb3">
https://github.com/eprints/eprints/commit/2f9d827397680279d0a59808f8559306d0be8bb3</a><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Georgia&quot;,serif;color:#073763"><o:p>&nbsp;</o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Georgia&quot;,serif;color:#073763">...which changes the way 'allow_null' interacts with 'multiple</span><span style="color:#073763">​</span><span style="font-family:&quot;Georgia&quot;,serif;color:#073763">' fields.&nbsp; It may be
 related, but that was more for making sure <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;color:#073763">allow_null=&gt;1</span><span style="color:#073763"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Georgia&quot;,serif;color:#073763">works, rather than&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;color:#073763">=&gt;0</span><span style="color:#073763"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Georgia&quot;,serif;color:#073763">.<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:#073763">​</span><span style="font-family:&quot;Georgia&quot;,serif;color:#073763">Cheers<o:p></o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">&nbsp; Matthew Kerwin<br>
&nbsp; <a href="http://matthew.kerwin.net.au/" target="_blank">http://matthew.kerwin.net.au/</a><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England &amp; Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority in relation to its
 secondary activity of credit broking.
</body>
</html>