diff --git a/packages/bruno-app/src/utils/collections/search.js b/packages/bruno-app/src/utils/collections/search.js index 9c2f187e59..6a6a69ff10 100644 --- a/packages/bruno-app/src/utils/collections/search.js +++ b/packages/bruno-app/src/utils/collections/search.js @@ -3,7 +3,10 @@ import filter from 'lodash/filter'; import find from 'lodash/find'; export const doesRequestMatchSearchText = (request, searchText = '') => { - return request?.name?.toLowerCase().includes(searchText.toLowerCase()); + const lowerSearchText = searchText.toLowerCase(); + const nameMatch = request?.name?.toLowerCase().includes(lowerSearchText); + const urlMatch = request?.request?.url?.toLowerCase().includes(lowerSearchText); + return nameMatch || urlMatch; }; export const doesFolderHaveItemsMatchSearchText = (item, searchText = '') => {