eprints / eprints3.4

EPrints 3.4 core and releases
http://www.eprints.org/uk/index.php/eprints-3-4/
GNU Lesser General Public License v3.0
31 stars 28 forks source link

Search in workflow does not work for tree rendered subject fields #411

Closed drn05r closed 3 days ago

drn05r commented 2 weeks ago

The subjects stage in the default eprint workflow presents as a subject tree with a search box to find the subject for which you are looking but when you conduct a search it find no results,even if you can already see it in the subject tree.

drn05r commented 3 days ago

This issue as by #246. Typically you would not want to text index an ID field but in this case it is needed for subject.ancestors as this is used as a filter in the subject search query used in workflows (e.g. eprint) to ensure results are only returned if they are within a specified subtree.

After applying this fix, you will need to run: <EPRINTS_PATH>/bin/epadmin reindex <ARCHIVE_ID> subject