[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Unknown entries in creator browse

On 13 September 2017 at 22:15, Andrew Beeken <anbeeken at lincoln.ac.uk> wrote:

> Hi Matthew ? this looks like the kind of solution we?re after! Your fix
> for multiple fields hasn?t done the trick so would you be able to share
> your hack for the fieldlist_sizes function? I?ve taken a look and I?m
> really not sure what I need to change. This isn?t a mega issue, just more
> of an annoyance, but I do want to get it cleaned up!
> Thanks!
> Andrew

?It is not a graceful solution.  To be honest, it probably makes more sense
to use Alan's suggestion and prune the NULL values in the grouping
function, though that does mean fetching more values from the database than
you need and processing them in perl.

If this is the path you want to go down, I've chucked the relevant bits
into a gist:

Hopefully you can work out what to do with it from that.

  Matthew Kerwin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20170914/db23242b/attachment-0001.html