Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier-RSP committed Mar 13, 2024
2 parents 9507d68 + 02c016e commit 474f211
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Gnoss.Web/wwwroot/jsUnificar/busquedas.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,23 @@ function enlazarFiltrosBusqueda() {
});
}

/**
* Buscar un parámetro de tipo GET
* @param {any} parameterName: Nombre del parámetro a buscar
*/
function findGetParameter(parameterName) {
var result = null,
tmp = [];
location.search
.substr(1)
.split("&")
.forEach(function (item) {
tmp = item.split("=");
if (tmp[0] === parameterName) result = decodeURIComponent(tmp[1]);
});
return result;
}

function enlazarFacetasBusqueda() {
$('.facetedSearchBox .filtroFaceta')
.unbind()
Expand Down

0 comments on commit 474f211

Please sign in to comment.