EPrints Technical Mailing List Archive
Message: #00943
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Patch for ScreenProcessor.pm
- To: "'eprints-tech@ecs.soton.ac.uk'" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Patch for ScreenProcessor.pm
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Tue, 14 Aug 2012 11:19:49 +0100
It looks like the 'render_toolbar' in ~/perl_lib/EPrints/ScreenProcessor.pm doesn't do what the documentation reckons it should. The %opts aren't honoured. This *might* fix it (or I might have been trying to do something stupid)? --- perl_lib/EPrints/ScreenProcessor.pm.ORIG 2012-05-18 14:21:24.000000000 +0100 +++ perl_lib/EPrints/ScreenProcessor.pm 2012-08-14 10:49:54.748878121 +0100 @@ -255,11 +255,11 @@ sub render_toolbar { - my( $self ) = @_; + my( $self, %opts ) = @_; return $self->render_item_list( [ $self->list_items( "key_tools" ), - ] ); + ], %opts ); } =item EPrints::ScreenProcessor->process( %opts )
- Prev by Date: [EP-tech] Enabling users to delete their profiles
- Next by Date: [EP-tech] Re: Search description for the 'simple_search' page
- Previous by thread: [EP-tech] Enabling users to delete their profiles
- Next by thread: [EP-tech] All exported subjects marked as depositable
- Index(es):