<div dir="ltr"><div><div>Hi Adam<br><br></div>The grouping_function =&gt; &quot;EPrints::Update::Views::<div id=":1u7" class="">group_by_first_character&quot;, did the job just fine!</div></div><br>Thank you again for your support. <br><div><br>Kostas <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-03 16:07 GMT+02:00 Field A.N. <span dir="ltr">&lt;<a href="mailto:af05v@ecs.soton.ac.uk" target="_blank">af05v@ecs.soton.ac.uk</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Kostas<br>
<br>
        I&#39;ve had a dig through the code, and it looks like the point of group_by_a_to_z (the grouping function you&#39;re using) is to explicitly include all characters A-Z if they don&#39;t exist in the data.  I would suggest you try using the group_by_first_character function instead, which doesn&#39;t have this behaviour.  The line to change is:<br>
<span class=""><br>
        grouping_function =&gt; &quot;EPrints::Update::Views::group_by_a_to_z&quot;,<br>
<br>
</span>        ...to...<br>
<br>
        grouping_function =&gt; &quot;EPrints::Update::Views::group_by_first_character&quot;,<br>
<br>
        However, you may find that your range navigation looks a bit funny with letters missing from the alphabet.<br>
<br>
--<br>
Adam<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On 3 Dec 2014, at 12:48, pgasinos pgs wrote:<br>
<br>
&gt; Hi Adam<br>
&gt;<br>
&gt; Thank you for your response.<br>
&gt;<br>
&gt; Unfortunately hideempty =&gt; 1, didn&#39;t change a thing (I also have re-generated views and reloaded apache). It is very strange that hideempty works only in Greek Authors!!! I have no issue with Subject, Year, Division or Professor (I use corp_creators for Professors).<br>
&gt;<br>
&gt; Kostas<br>
&gt;<br>
&gt; 2014-12-03 11:46 GMT+02:00 Field A.N. &lt;<a href="mailto:af05v@ecs.soton.ac.uk">af05v@ecs.soton.ac.uk</a>&gt;:<br>
&gt; Hi Kostas<br>
&gt;<br>
&gt;         Try this:<br>
&gt;<br>
&gt;<br>
&gt;                 menus =&gt; [<br>
&gt;                         {<br>
&gt;                                 fields =&gt; [ &quot;creators_name&quot; ],<br>
&gt;                                 new_column_at =&gt; [1, 1],<br>
&gt;                                 mode =&gt; &quot;sections&quot;,<br>
&gt;                                 open_first_section =&gt; 1,<br>
&gt;                                 group_range_function =&gt; &quot;EPrints::Update::Views::cluster_ranges_30&quot;,<br>
&gt;                                 grouping_function =&gt; &quot;EPrints::Update::Views::group_by_a_to_z&quot;,<br>
&gt;                                 hideempty =&gt; 1,<br>
&gt;                         },<br>
&gt;                 ],<br>
&gt;<br>
&gt;         ...and let me know whether that fixed it.<br>
&gt;<br>
&gt; --<br>
&gt; Adam<br>
&gt;<br>
&gt; On 3 Dec 2014, at 08:51, pgasinos pgs wrote:<br>
&gt;<br>
&gt; &gt; I have a multilingual repository (el, en). The strange thing is, that only in English I can&#39;t hide empty author records (it only hides the empty author records from the greek letters). All the other views work just fine.<br>
&gt; &gt;<br>
&gt; &gt; Browse by Author shows:<br>
&gt; &gt; A...<br>
&gt; &gt;<br>
&gt; &gt; No items in this section.<br>
&gt; &gt;<br>
&gt; &gt; B...<br>
&gt; &gt;<br>
&gt; &gt; No items in this section. etc<br>
&gt; &gt;<br>
&gt; &gt; My &quot;<a href="http://views.pl" target="_blank">views.pl</a>&quot; file has:<br>
&gt; &gt;<br>
&gt; &gt; {<br>
&gt; &gt;                 id =&gt; &quot;creators&quot;,<br>
&gt; &gt;                 allow_null =&gt; 0,<br>
&gt; &gt;                 hideempty =&gt; 1,<br>
&gt; &gt;                 menus =&gt; [<br>
&gt; &gt;                         {<br>
&gt; &gt;                                 fields =&gt; [ &quot;creators_name&quot; ],<br>
&gt; &gt;                                 new_column_at =&gt; [1, 1],<br>
&gt; &gt;                                 mode =&gt; &quot;sections&quot;,<br>
&gt; &gt;                                 open_first_section =&gt; 1,<br>
&gt; &gt;                                 group_range_function =&gt; &quot;EPrints::Update::Views::cluster_ranges_30&quot;,<br>
&gt; &gt;                                 grouping_function =&gt; &quot;EPrints::Update::Views::group_by_a_to_z&quot;,<br>
&gt; &gt;                         },<br>
&gt; &gt;                 ],<br>
&gt; &gt;                 order =&gt; &quot;-date/title&quot;,<br>
&gt; &gt;                 variations =&gt; [<br>
&gt; &gt;                         &quot;type&quot;,<br>
&gt; &gt;                         &quot;DEFAULT&quot;,<br>
&gt; &gt;                 ],<br>
&gt; &gt;         },<br>
&gt; &gt;<br>
&gt; &gt; Am I missing something?<br>
&gt; &gt;<br>
&gt; &gt; Kostas Pgasinos<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; *** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
&gt; &gt; *** Archive: <a href="http://www.eprints.org/tech.php/" target="_blank">http://www.eprints.org/tech.php/</a><br>
&gt; &gt; *** EPrints community wiki: <a href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a><br>
&gt; &gt; *** EPrints developers Forum: <a href="http://forum.eprints.org/" target="_blank">http://forum.eprints.org/</a><br>
&gt;<br>
&gt; --<br>
&gt; Adam Field<br>
&gt; Business Relationship and Community Manager<br>
&gt; EPrints Services<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; *** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
&gt; *** Archive: <a href="http://www.eprints.org/tech.php/" target="_blank">http://www.eprints.org/tech.php/</a><br>
&gt; *** EPrints community wiki: <a href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a><br>
&gt; *** EPrints developers Forum: <a href="http://forum.eprints.org/" target="_blank">http://forum.eprints.org/</a><br>
&gt;<br>
&gt; *** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
&gt; *** Archive: <a href="http://www.eprints.org/tech.php/" target="_blank">http://www.eprints.org/tech.php/</a><br>
&gt; *** EPrints community wiki: <a href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a><br>
&gt; *** EPrints developers Forum: <a href="http://forum.eprints.org/" target="_blank">http://forum.eprints.org/</a><br>
<br>
--<br>
Adam Field<br>
Business Relationship and Community Manager<br>
EPrints Services<br>
<br>
<br>
<br>
<br>
*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
*** Archive: <a href="http://www.eprints.org/tech.php/" target="_blank">http://www.eprints.org/tech.php/</a><br>
*** EPrints community wiki: <a href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a><br>
*** EPrints developers Forum: <a href="http://forum.eprints.org/" target="_blank">http://forum.eprints.org/</a><br>
</div></div></blockquote></div><br></div>