Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
salahjaafar authored Jan 20, 2024
1 parent f49db57 commit a186898
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
url: function (params) {
// Construct the search query URL based on the user's input
var searchQuery = params.term;
return 'https://jsonplaceholder.typicode.com/users?q=' + searchQuery;
return 'http://localhost/rapport/index.php?option=com_jsonmaker&tmpl=component&format=raw&tableselect=medecin&term=' + searchQuery;
},
dataType: 'json',
delay: 250, // Delay requests slightly for better performance
Expand All @@ -33,7 +33,7 @@
results: $.map(data, function (item) {
return {
id: item.id,
text: item.name + ' (' + item.username + ')'
text: item.name
};
})
};
Expand Down

0 comments on commit a186898

Please sign in to comment.