Fields not showing up in list view

283 views
Skip to first unread message

seba...@gianninicreative.com

unread,
Mar 15, 2019, 6:36:42 PM3/15/19
to ResourceSpace
If you take a look at the image below, you will see mostly empty fields. But Job Number and Original Filename have entries for every single file in the system. The data shows up when editing the resources, when viewing them, etc. It just doesn't show up here. I can force the Job Number field to become visible by editing the resource, changing the number, then changing it back and saving. But nothing else seems to work. I tried running tools/reindex.php with no luck. Any ideas what would cause this?

Thanks,

-Sebastian Szyszka

rs_empty_fields.png


Zahir Lalani

unread,
Mar 18, 2019, 5:15:41 AM3/18/19
to ResourceSpace
I have the same issue. I only see two fields. The rest are always blank in list view??

Malaikkannan S

unread,
Mar 19, 2019, 11:15:50 AM3/19/19
to ResourceSpace
try to re-index your metadata fields, We have a option to reindex each metadata fields,

Admin -> Manage Metadata Fields -> Your Field -> Edit -> index this field (there is a option reindex)

seba...@gianninicreative.com

unread,
Mar 19, 2019, 11:18:50 AM3/19/19
to ResourceSpace
Thanks, Malaikkannan.

That was the first thing I tried, and I just tried it again. No dice. They only start to populate if I go into each resource, change the field contents, and then change it back.

-Sebastian Szyszka

seba...@gianninicreative.com

unread,
Mar 19, 2019, 5:44:07 PM3/19/19
to ResourceSpace
I also tried updating to the latest 9.0 release, still not working.

-Sebastian Szyszka

Malaikkannan S

unread,
Mar 20, 2019, 2:26:25 AM3/20/19
to ResourceSpace
# List Display Fields: array of fields to display on the list view
$list_display_fields=array(8,3,12);

You can change your list view metadata fields using that config variable, So try with some new fields instead of existing fields and check its showing up or not.

Sebastian Szyszka

unread,
Mar 20, 2019, 10:42:55 AM3/20/19
to resour...@googlegroups.com
That’s the variable I’m using, all of my fields are new, custom ones. The default ones work fine.

-Sebastian Szyszka
Message has been deleted

seba...@gianninicreative.com

unread,
Mar 20, 2019, 1:55:28 PM3/20/19
to ResourceSpace
Found something digging around in the MYSQL tables:

The affected files show blank fields in list view but display the data correctly when viewing the resource with view.php.
Turns out that the affected files have the data stored inside resource_data but NOT inside resource. Changing and resaving the value writes it into BOTH resource_data and resource.

More clues:

This seems to affect files that were populated before the columns were set to display in list view. After turning on the columns in list view, any newly uploaded files populate the fields as expected. Older files continue to stay blank. I confirmed this by hiding one column (removing it from $list_display_fields=array()) Any uploaded files have NULL for that field inside the resource table. If I add the field back into $list_display_fields=array() and upload a new file, the resource table will include the data for that particular field.

Now, how do I populate the resource table with the correct data after making changes to $list_display_fields=array()?

-Sebastian Szyszka

akwells

unread,
May 21, 2021, 1:20:28 PM5/21/21
to ResourceSpace
Did you ever find a solution to this? I am having the same issue. Thanks.

Chad Creekmore

unread,
Feb 23, 2022, 2:59:38 PM2/23/22
to ResourceSpace

I ran across this today also. Wondering if someone has a fix? Version 9.6

Michael Burton

unread,
Dec 12, 2024, 12:03:03 AM12/12/24
to ResourceSpace
Did anyone find a fix for this issue? I'm running V10.4 and seeing the same issue.
Reply all
Reply to author
Forward
0 new messages