Skip to content
Snippets Groups Projects
Commit 7bcbf8ad authored by Satish's avatar Satish
Browse files

Global search is not working in Users page

parent 25f12d74
No related branches found
No related tags found
No related merge requests found
...@@ -131,7 +131,7 @@ Vtiger.Class('Vtiger_BasicSearch_Js',{},{ ...@@ -131,7 +131,7 @@ Vtiger.Class('Vtiger_BasicSearch_Js',{},{
addSearchListener : function () { addSearchListener : function () {
jQuery('.search-link .keyword-input').on('VT_SEARCH_INTIATED',function(e,args){ jQuery('.search-link .keyword-input').on('VT_SEARCH_INTIATED',function(e,args){
var val = args.searchValue; var val = args.searchValue;
var url = '?module='+app.getModuleName()+'&view=ListAjax&mode=searchAll&value='+encodeURIComponent(val); var url = '?module=Vtiger&view=ListAjax&mode=searchAll&value='+encodeURIComponent(val);
app.helper.showProgress(); app.helper.showProgress();
app.request.get({'url': url}).then(function (error, data) { app.request.get({'url': url}).then(function (error, data) {
if (error == null) { if (error == null) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment