<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Oooohhhh, complicated<div class=""><br class=""></div><div class="">OK, you'll need to check the user record to see which columns they have turned on, and then order by the first one, as I believe that is the one default ordering applies to.</div><div class=""><br class=""></div><div class="">A better idea, though, would be to figure out what's going on.</div><div class=""><br class=""></div><div class="">Is anyone else on the list experiencing this problem?</div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">--</div><div class="">Adam Field</div><div class="">Business Relationship Manager and Community Lead<br class="">EPrints Services</div></div>

</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On 8 Sep 2015, at 14:30, Robin Sylvestre &lt;<a href="mailto:robin.sylvestre@polymtl.ca" class="">robin.sylvestre@polymtl.ca</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class="">Thank you Adam!<br class=""><br class="">I can confirm it works better now, although there is still one thing left. <br class="">When we get to the "manage deposits" list, it always appears as if sorted by <br class="">descending eprint ids, regardless of what should be the active column. The <br class="">list gets sorted correctly only after we click on the column's title.<br class=""><br class="">For instance, see the attached screenshots: When the page is loaded <br class="">(screenshot001) and what it should be (screenshot002).<br class=""><br class="">Any ideas?<br class=""><br class="">Robin Sylvestre<br class=""><br class=""><br class=""><br class="">-----Message d'origine-----<br class="">De : Field A.N. [<a href="mailto:af05v@ecs.soton.ac.uk" class="">mailto:af05v@ecs.soton.ac.uk</a>]<br class="">Envoyé : 7 septembre 2015 06:45<br class="">À : <a href="mailto:eprints-tech@ecs.soton.ac.uk" class="">eprints-tech@ecs.soton.ac.uk</a><br class="">Objet : [EP-tech] Re: "Manage deposits" list not sorting<br class=""><br class="">I've seen this issue before -- in the case I examined, it looked like the <br class="">_buffer_order parameter was somehow being lost. &nbsp;I managed to get it working <br class="">with the following code in the Items plugin:<br class=""><br class="">in the 'properties_from' function:<br class=""><br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#af05v 20150512 Workaround for immediate solution to lack of <br class="">ordering<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;my $order = $session-&gt;param('_buffer_order');<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$self-&gt;{processor}-&gt;{af05v_order} = $order;<br class=""><br class=""><br class="">in the perform_search function:<br class=""><br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;my $list = $self-&gt;{session}-&gt;current_user-&gt;owned_eprints_list( <br class="">%$search, # custom_order =&gt; $search-&gt;{order}<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#af05v 20150512 Workaround for immediate solution to lack of <br class="">ordering<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;custom_order =&gt; $self-&gt;{processor}-&gt;{af05v_order}<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br class=""><br class="">However, I didn't have time to figure out *why* this was happening. &nbsp;Anyone <br class="">have any ideas?<br class=""><br class="">--<br class="">Adam Field<br class="">Business Relationship Manager and Community Lead EPrints Services<br class="">+44 (0)23 8059 8814<br class=""><br class=""><br class=""><br class=""><br class=""><br class="">On 2 Sep 2015, at 17:48, Robin Sylvestre wrote:<br class=""><br class=""><blockquote type="cite" class="">Hello fellow EPrinters,<br class=""><br class="">Running version 3.3.14, we have noticed a strange behavior on the “manage <br class="">deposits” screen. Items do not sort at all, when clicking on the <br class="">appropriate column title (see attached screen shots). Nothing changes, <br class="">only the up/down arrow appears.<br class=""><br class="">The strange thing is that the “revision” list is not affected by this bug, <br class="">only the “deposits” list.<br class=""><br class="">I have tried to do a “epadmin reorder [archive] eprint” but that does not <br class="">correct the problem. Both of our live and test versions have this problem.<br class=""><br class="">Did anyone notice a similar bug or has a solution to offer? Thanks!!<br class=""><br class=""><br class=""><br class="">Robin Sylvestre<br class="">Technicien en documentation<br class="">Bibliothèque - Services techniques et systèmes informatisés École<br class="">Polytechnique de Montréal<br class="">Tél.: 514-340-4711 poste 3743<br class=""><br class="">&lt;ScreenShot001.png&gt;&lt;ScreenShot003.png&gt;*** Options:<br class=""><a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" class="">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br class="">*** Archive: http://www.eprints.org/tech.php/<br class="">*** EPrints community wiki: http://wiki.eprints.org/<br class="">*** EPrints developers Forum: http://forum.eprints.org/<br class=""></blockquote><br class=""><br class=""><br class=""><span id="cid:A2F8B090-72EB-436A-85CA-07B4E6325413@520b.com">&lt;ScreenShot001.png&gt;</span><span id="cid:6D6519EE-491A-4DD9-99A2-2C55FB65F53F@520b.com">&lt;ScreenShot002.png&gt;</span>*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" class="">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br class="">*** Archive: <a href="http://www.eprints.org/tech.php/" class="">http://www.eprints.org/tech.php/</a><br class="">*** EPrints community wiki: <a href="http://wiki.eprints.org/" class="">http://wiki.eprints.org/</a><br class="">*** EPrints developers Forum: <a href="http://forum.eprints.org/" class="">http://forum.eprints.org/</a><br class=""></div></blockquote></div><br class=""></div></body></html>