Skip to content

Commit

Permalink
Plone 5.1.x and upwards needs this index to figure out the icon.
Browse files Browse the repository at this point in the history
The older getIcon Index return bool for either showing or not showing a thumbnail in folder_contents.
  • Loading branch information
Mathias Leimgruber committed Jan 15, 2021
1 parent 35fa294 commit e80215a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions solr-base.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ additional-solrconfig =
${:solrconfig-shards}
</lst>
<lst name="invariants">
<str name="fl">Creator Title Description modified portal_type path_string getIcon UID getRemoteUrl</str>
<str name="fl">Creator Title Description modified portal_type path_string getIcon UID getRemoteUrl mime_type</str>
</lst>
<arr name="last-components">
<str>spellcheck</str>
Expand All @@ -187,7 +187,7 @@ additional-solrconfig =
<int name="rows">1000</int>
</lst>
<lst name="invariants">
<str name="fl">Title Description portal_type path_string getIcon getRemoteUrl Type</str>
<str name="fl">Title Description portal_type path_string getIcon getRemoteUrl Type mime_type</str>
</lst>
</requestHandler>

Expand Down Expand Up @@ -224,3 +224,4 @@ index =
name:UID type:string stored:true required:true
name:crawler_site_id type:string stored:true
name:trashed type:boolean stored:true
name:mime_type type:string stored:true

0 comments on commit e80215a

Please sign in to comment.