igniterealtime / openfire-search-plugin

Adds Jabber Search (XEP-0055) capabilities to Openfire
Apache License 2.0
3 stars 8 forks source link

Extended searchfield labels not found #16

Open mightymop opened 3 years ago

mightymop commented 3 years ago

When defining custom searchfields from ldap in "ldap.searchFields" with syntax

labelname/ldapAttribute, ...

The current code tries to look up the label in an i18n file. Because theese entrys are not given, they have to be added manually to plugins/search/i18n/.properties with syntax:

advance.user.search.labelname=labelname

So far this is not documented i think and furthermore it would be easier to just use the label-part from the ldap.searchFields properties...

Unbenannt