[EP-tech] Re: What is 'saved_search_fieldname_pos'?

Tim Brody tdb2 at ecs.soton.ac.uk
Mon Dec 10 16:30:10 GMT 2012


On Mon, 2012-12-10 at 09:32 +0000, Allan Leck Jensen wrote:
> Dear everyone,
> 
> The page for Saved searches contains a table with information about the
>  saved searches. In one of the column headers there is a message that
>  the phrase 'saved_search_fieldname_pos' has not been defined (see
>  attached screendump). None of the saved searches has information in
>  that column (it says 'UNSPECIFIED'), and it doesn't seem to be
>  possible when you save a search to specify any information, that could
>  be shown in the column.
> 
> Does anyone know either what the column should be used for, or how to
>  remove it, also from the filter?

Hi,

That is a missing phrase for the 'pos' field in the saved_searches
dataset.

It looks like 'pos' isn't actually used, so you're seeing a bit of
legacy code poking its nose out there.

The following patch removes the 'pos' field and defaults the table to
only showing id and name:
https://github.com/eprints/eprints/commit/9d15d826d1a026e72ea5cb3dcf1c026cf144ec67.patch

There isn't a configurable way to control the columns shown on that
screen.

-- 
Tim Brody

EPrints Lead Developer
Web and Internet Science Group
University of Southampton, UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20121210/f31f4c7c/attachment.bin 


More information about the Eprints-tech mailing list