Original file name in collections list view

50 views
Skip to first unread message

Girija Shanmugam

unread,
Sep 27, 2024, 10:53:36 AM9/27/24
to ResourceSpace
Hi,
 I would like to show original file name in the list view of the collections. Please guide me where I can change configuration of the display fields in collections view.

Thanks.
collection_view_header.docx

Joseph Brooke

unread,
Nov 11, 2024, 12:20:40 PM11/11/24
to ResourceSpace
Hi,

If you add the ID of the original filename field (by default 51) to the config option $list_display_fields it will show in the List layout of search results.

Adding in the following line to include/config.php should achieve this:

$list_display_fields=array(8,3,12,51);

arou...@umich.edu

unread,
Nov 14, 2025, 8:59:00 AMNov 14
to ResourceSpace
We have added 51 to the $list_display_fields array, and the column shows up in list view, but the values do not appear.  The values are present in the system (they appear in resource view), and we can even sort based on them in the list, but they do not display.  I already tried reindexing the field.  Any ideas?
-Adam

Trond Helge Rolland

unread,
Nov 17, 2025, 8:17:56 AMNov 17
to ResourceSpace
Hi Adam, I keep forgetting this myself, what you need to do is run the fix_resource_field_column.php for the field id, ref the instructions in config.default.php:

 * NOTE (1)
 *
 * IMPORTANT! If any new fields are added to any of the the field arrays marked with '** SEE NOTE (1)' you should do the following:-
 *
 * 1)  If adding as an override for e.g a resource type or usergroup, ensure you add the field to
 *     the $data_joins array in config.php so that the columns are updated when resource data is changed
 *     by other users or scripts
 *
 *     e.g.
 *
 *     $data_joins[] = 8;
 *
 *  2) Once you have made the change, ensure that you run pages/tools/fix_resource_field_column.php, passing in the relevant field
 *    identifier to populate the columns
 *
 *    e.g.
 *

-
Trond Helge

Adam Rountrey

unread,
Nov 17, 2025, 8:28:55 AMNov 17
to resour...@googlegroups.com
Thanks!  Running fix_resource_field_column solved the problem.
-Adam
 


--
ResourceSpace: Open Source Digital Asset Management
http://www.resourcespace.com
---
You received this message because you are subscribed to a topic in the Google Groups "ResourceSpace" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/resourcespace/cHNDxbXxeQo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to resourcespac...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/resourcespace/1e22966f-b7fb-49ce-9db9-7282145ba92an%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages