Show full file path

34 views
Skip to first unread message

THIAGO FERNANDO DE AZEVEDO

unread,
Feb 1, 2018, 8:25:54 AM2/1/18
to Datafari
Hi,


Is there any way to not suppress the address of the file with three dots "...", showing the full path?


Regards
Thiago

Olivier Tavard

unread,
Feb 16, 2018, 9:59:48 AM2/16/18
to Datafari
Hi,

Yes you can change the display of the URL in /opt/datafari/tomcat/webapps/Datafari/js/AjaxFranceLabs/widgets/SubClassResult.widget.js
(or /datafari-core/src/main/webapp/js/AjaxFranceLabs/widgets/SubClassResult.widget.js if you edit the source code).
Change this line :

elm.find('.doc:last .address').append('<span>' + AjaxFranceLabs.tinyUrl(decodeURIComponent(url)) + '</span>');


to :


elm.find('.doc:last .address').append('<span>' +(decodeURIComponent(url)) + '</span>');


And the full URL will be displayed in the Datafari search UI.


Best regards,


Olivier

Reply all
Reply to author
Forward
0 new messages