Truncated description field in List View and API XML output

92 views
Skip to first unread message

mrpatulski

unread,
May 27, 2014, 9:23:58 PM5/27/14
to resour...@googlegroups.com
We have added the description field to our list view in search and it is being truncated at about 200 characters. I have seen the same behavior in the API. I does not impact a full record view. How is this limit set and can I remove it or make consistent however it is displayed?

Tom Gleason

unread,
May 27, 2014, 9:31:43 PM5/27/14
to ResourceSpace
$resource_field_column_limit=200;

You can set this higher, delete the field# column related to your description, and do a search to autopopulate that column. After that, you should probably set it back to 200, so that other columns stay smaller.

--
Tom Gleason
Senior Software Developer
Colorhythm
http://www.colorhythm.com

Main Office: +1 415-399-9921
Fax: +1 415-399-9928
Mobile: +1 347-537-8465

tgle...@colorhythm.com


On Tue, May 27, 2014 at 9:23 PM, mrpatulski <mat...@patulski.is> wrote:
We have added the description field to our list view in search and it is being truncated at about 200 characters. I have seen the same behavior in the API. I does not impact a full record view. How is this limit set and can I remove it or make consistent however it is displayed?

--
ResourceSpace: Open Source Digital Asset Management
http://www.resourcespace.org
---
You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to resourcespac...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

mrpatulski

unread,
May 27, 2014, 10:35:40 PM5/27/14
to resour...@googlegroups.com, tgle...@colorhythm.com
Hi tom,
Thanks but no luck. Using r 5332. Deleted the column, ran a search  then added it back. 

Here are my settings:

# List Display Fields: array of fields to display on the list view
$list_display_fields=array(8,18,92,204,82,73,12);
$list_search_results_title_trim=200;
$resource_field_column_limit=1000;

Anything else that could conflict with it?
BR,
MRP

mrpatulski

unread,
May 27, 2014, 10:52:46 PM5/27/14
to resour...@googlegroups.com, tgle...@colorhythm.com
Did some more tests and removed $list_search_results_title_trim=200 from my config.php

So it uses default.config.php value which is 25. This shortens both the title and description field acording

If I change it to 1000, it still trims at about 200.

A bug perhaps?
Reply all
Reply to author
Forward
0 new messages