EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #07416
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Eprints-tech Digest, Vol 119, Issue 25
- To: <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Eprints-tech Digest, Vol 119, Issue 25
- From: MUIZZUDIN BIN KASPOL / PSAS <muizzudin@upm.edu.my>
- Date: Tue, 21 Aug 2018 10:00:15 +0800
Hi
Michele,
It's works!!! and problem solved.
Thank you very much
Regards,
Muizzudin Bin Kaspol
University Putra Malaysia
On Mon, Aug 20, 2018 at 8:49 PM, <eprints-tech-request@ecs.soton.ac.uk> wrote:
Send Eprints-tech mailing list submissions to
eprints-tech@ecs.soton.ac.uk
To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints- tech
or, via email, send a message with subject or body 'help' to
eprints-tech-request@ecs.soton.ac.uk
You can reach the person managing the list at
eprints-tech-owner@ecs.soton.ac.uk
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Eprints-tech digest..."
Today's Topics:
1. Re: MePrints - Latest Additions view not updated (Michele Morelli)
------------------------------------------------------------ ----------
Message: 1
Date: Mon, 20 Aug 2018 12:49:25 +0000
From: Michele Morelli <Michele.Morelli@cosector.com>
Subject: Re: [EP-tech] MePrints - Latest Additions view not updated
To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
Message-ID:
<LOXP123MB1046CB2C23C665A000E5CDE894320@LOXP123MB1046.GBRP123.PROD.OUTLOOK.COM">LOXP123MB1046CB2C23C665A000E5CDE894320@LOXP123MB1046. GBRP123.PROD.OUTLOOK.COM>
Content-Type: text/plain; charset="us-ascii"
Hi Muizzudin,
This problem is due to the fact that there seems to be a bug in the render_content subroutine in cfg/plugins/EPrints/Plugin/MePrints/Widget/LatestEPrints. pm.
Basically the new added items are added at the "wrong side" of the queue, giving the impression that the list does not change (while actually, it does).
The problem is caused by the fact that, for some reason,
$items->reorder( 'datestamp' );
is not actually sorting the list as it should.
So you should be able to fix the issue easily by adding:
$items->{ids} = [reverse @{$items->{ids} } ];
Or something similar (depending on how you want to sort the list) after the malfunctioning reorder statement in the render_content subroutine .
You will then need to refresh the Meprints pages, and the issue should be solved.
I hope it can be of help!
Michele
Michele Morelli
Research Technologies Junior Developer
CoSector - University of London
Senate House, Malet Street, London WC1E 7HU
Direct: 0207 862 8180
Email: mailto:michele.morelli@cosector.com
Web: http://www.cosector.com/research-technologies
[CoSector Blue Black T RGB Horizontal small]
On Sat, Aug 11, 2018, 11:31 MUIZZUDIN BIN KASPOL / PSAS <
muizzudin at upm.edu.my<http://mailman.ecs.soton.ac.uk/mailman/listinfo/ >> wrote:eprints-tech
>
> I'm having a problem with MePrints Latest Additions display in user
> profile.
>
> As example when I have deposited a new record and try to display at
> http://urldaomain/cgi/latest it indicates a new record have been added,
> but when I click on my user profile at http://urldomain/profile/userid ,
> the new deposited record is not showing in the latest addition list. It
> seems that the record only shows 10 previous records and not latest records.
>
> I've tried to disable and uninstall MePrints plugin through EPrints Bazaar
> and re-install the MePrints plugins back, but the problem hasn't been
> solved yet.
>
> Best Regards,
>
> Muizzudin
> Librarian,
> Universiti Putra Malaysia.
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints- tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/ attachments/20180820/35783f56/ attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 11731 bytes
Desc: image003.png
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/ attachments/20180820/35783f56/ attachment.png
------------------------------
_______________________________________________
Eprints-tech mailing list
Eprints-tech@ecs.soton.ac.uk
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints- tech
End of Eprints-tech Digest, Vol 119, Issue 25
*********************************************
- Follow-Ups:
- Re: [EP-tech] Eprints-tech Digest, Vol 119, Issue 25
- From: MUIZZUDIN BIN KASPOL / PSAS <muizzudin@upm.edu.my>
- Re: [EP-tech] Eprints-tech Digest, Vol 119, Issue 25
- References:
- Re: [EP-tech] Eprints-tech Digest, Vol 119, Issue 25
- From: MUIZZUDIN BIN KASPOL / PSAS <muizzudin@upm.edu.my>
- Re: [EP-tech] Eprints-tech Digest, Vol 119, Issue 25
- Prev by Date: Re: [EP-tech] MePrints - Latest Additions view not updated
- Next by Date: [EP-tech] Shibboleth in an existing Eprints Archive
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):