Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/abes-esr/theses-front in…
Browse files Browse the repository at this point in the history
…to test
  • Loading branch information
clementdelafontaine committed Dec 20, 2024
2 parents 716c936 + 68149ea commit 3c8eb3a
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion components/common/FooterCustom.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</div>
<div class="list-item" role="listitem">
<span class="first-column-bullet"><span class="orange-link">{{ ">\xa0" }}</span></span>
<span><a href="https://api.gouv.fr/producteurs/abes/"
<span><a href="https://www.data.gouv.fr/fr/organizations/agence-bibliographique-de-lenseignement-superieur/#/dataservices"
target="_blank"
:title="$t('footer.apiGouv')">
{{ $t("footer.apiThesesfr") }}</a></span>
Expand Down
5 changes: 4 additions & 1 deletion components/common/results/SortingSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const { setSorting, getItemsTri, getCurrentSorting, getTriMap } = useStrategyAPI
const items = ref([]);
const tri = ref("");
let triIsInitialized = false;
let noDoubleUpdates = false;
onMounted(() => {
Expand Down Expand Up @@ -83,10 +84,12 @@ function getCurrentSortName() {
// Surveiller les changements de tri
watch(tri, async (newSortingArray, previousSortingArray) => {
if (typeof previousSortingArray !== 'undefined' && !noDoubleUpdates) {
if (typeof previousSortingArray !== 'undefined' && !noDoubleUpdates && triIsInitialized) {
setSorting(newSortingArray.cle);
emit("updatePageNumberFromSortingSelect", 1);
emit("search");
} else {
triIsInitialized = true;
}
noDoubleUpdates = false;
});
Expand Down
2 changes: 1 addition & 1 deletion composables/useStrategyAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export default function() {
if (domaine.value === "personnes")
return queryPersonnesAPI(replaceAndEscape(query.value), getFacetsRequest(), currentPageNumber.value, currentShowingNumber.value, currentSorting.value);
else
//La recherche avancée ne doit pas échapper les caractères spécieaux, on passe isAdvanced pour déterminer quels caractères échapper
//La recherche avancée ne doit pas échapper les caractères spéciaux, on passe isAdvanced pour déterminer quels caractères échapper
return queryThesesAPI(replaceAndEscape(query.value, isAdvanced.value), getFacetsRequest(), currentPageNumber.value, currentShowingNumber.value, currentSorting.value);
}

Expand Down
2 changes: 1 addition & 1 deletion locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@
"globalETD": "Global ETD Search - Electronic theses worldwide",
"apiThesesfr": "theses.fr API",
"apiThesesfrLecteurEcran": "theses.fr API",
"apiGouv": "Access the theses.fr APIs on the api.gouv.fr website",
"apiGouv": "Access the theses.fr APIs on the data.gouv.fr website",
"idRef": "Access IdRef, the database of identifiers and repositories used for French higher education and research",
"accesDoc": "Access the theses.fr documentation",
"accesSudoc": "Access Sudoc, the collective catalog of French university and research libraries",
Expand Down
2 changes: 1 addition & 1 deletion locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@
"globalETD": "Global ETD Search - Las tesis electrónicas en el mundo",
"apiThesesfr": "API de theses.fr",
"apiThesesfrLecteurEcran": "API de theses.fr",
"apiGouv": "Acceder al sitio api.gouv.fr para las API de theses.fr",
"apiGouv": "Acceder al sitio data.gouv.fr para las API de theses.fr",
"idRef": "Acceder a IdRef, la base de datos de identificadores y sistemas de referencia utilizados en la educación superior y la investigación",
"accesDoc": "Acceder a la documentación de theses.fr",
"accesSudoc": "Acceder a Sudoc, el catálogo colectivo de las bibliotecas universitarias francesas",
Expand Down
2 changes: 1 addition & 1 deletion locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@
"globalETD": "Global ETD Search - Les thèses électroniques dans le monde",
"apiThesesfr": "API de theses.fr",
"apiThesesfrLecteurEcran": "API de thèses.fr",
"apiGouv": "Accéder au site api.gouv.fr aux API de thèses.fr",
"apiGouv": "Accéder au site data.gouv.fr aux API de thèses.fr",
"idRef": "Accéder à IdRef, la base des identifiants et des référentiels utilisés pour l’enseignement supérieur et la recherche",
"accesDoc": "Accéder à la documentation de thèses.fr",
"accesSudoc": "Accéder au Sudoc, le catalogue collectif des bibliothèques universitaires françaises",
Expand Down

0 comments on commit 3c8eb3a

Please sign in to comment.