NIHVIVO-1962 commented out a line to avoid considering vitro:label property in getLabel method.
This commit is contained in:
parent
4508106ba1
commit
7f98249f20
1 changed files with 3 additions and 2 deletions
|
@ -656,9 +656,10 @@ public class JenaBaseDao extends JenaBaseDaoCon {
|
|||
label = tryPropertyForPreferredLanguages( r, RDFS.label, ALSO_TRY_NO_LANG );
|
||||
|
||||
// try vitro:label with preferred languages
|
||||
if ( label == null ) {
|
||||
// Commenting out for NIHVIVO-1962
|
||||
/* if ( label == null ) {
|
||||
label = tryPropertyForPreferredLanguages( r, r.getModel().getProperty(VitroVocabulary.label), ALSO_TRY_NO_LANG );
|
||||
}
|
||||
} */
|
||||
} finally {
|
||||
r.getOntModel().leaveCriticalSection();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue