Skip to content
2 changes: 1 addition & 1 deletion documentation/html/ExternalRESTClients.html
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion documentation/html/GraphQLClient.html
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion documentation/html/RESTClient.html
Original file line number Diff line number Diff line change
Expand Up @@ -9053,7 +9053,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion documentation/html/Static.html
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion documentation/html/classes.list.html
Original file line number Diff line number Diff line change
Expand Up @@ -2879,7 +2879,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@ <h1 class="page-title">Source: components/Records/Search/Input/AdvancedSearch/Ad
&lt;h2 class="primary--text">
Advanced filtering and searching for FAIRsharing records
&lt;/h2>
&lt;h4
v-if="searchingCollection"
>
You are currently searching the within the collection &lt;b>{{ currentRecord.fairsharingRecord.name }}&lt;/b>.
&lt;/h4>
&lt;p style="text-align: center">
Find out more about our Advanced Search in our
&lt;a
Expand Down Expand Up @@ -237,7 +242,7 @@ <h1 class="page-title">Source: components/Records/Search/Input/AdvancedSearch/Ad

&lt;script>
import { isBoolean } from "lodash";
import { mapActions, mapGetters } from "vuex";
import { mapActions, mapGetters, mapState } from "vuex";

import TooltipComponent from "@/components/Records/Search/Input/AdvancedSearch/QueryBuilderComponents/UtilComponents/TooltipComponent.vue";
import QueryBuilderView from "@/components/Records/Search/Input/AdvancedSearch/QueryBuilderView.vue";
Expand Down Expand Up @@ -269,6 +274,8 @@ <h1 class="page-title">Source: components/Records/Search/Input/AdvancedSearch/Ad
"getEditDialogStatus",
"getAdvancedSearchDialogStatus",
]),
...mapGetters("records", ["getCollectionIdsParams"]),
...mapState("record", ["currentRecord"]),
/**
* Enables the proceed button when all the selected fields are non-empty
* @returns {boolean}
Expand All @@ -294,6 +301,14 @@ <h1 class="page-title">Source: components/Records/Search/Input/AdvancedSearch/Ad
if (allTrue) isDisabled = !allTrue;
return isDisabled;
},
searchingCollection() {
if (this.getCollectionIdsParams.length > 0 &amp;&amp;
this.currentRecord.fairsharingRecord &amp;&amp;
this.currentRecord.fairsharingRecord.type === 'collection' ) {
return true;
}
return false;
}
},
watch: {
getEditDialogStatus(newValue) {
Expand Down Expand Up @@ -340,6 +355,7 @@ <h1 class="page-title">Source: components/Records/Search/Input/AdvancedSearch/Ad
operator: this.getAdvancedSearch["operatorIdentifier"],
fields: queryString,
};

return queryValues;
},

Expand All @@ -355,10 +371,18 @@ <h1 class="page-title">Source: components/Records/Search/Input/AdvancedSearch/Ad
* in dialog box
*/
goToAdvancedSearch() {
let idsToSend = [];
// These IDs are visible here but disappear when sent to the advancedSearch store,
// unless the array is copied this way.
// TODO: Perhaps these collectionIDs should come from somewhere else, e.g. passed by props,
// TODO: from the URL params, or something...
this.getCollectionIdsParams.forEach((id) => {
idsToSend.push(id);
})
if (this.updatedAdvancedSearchText) {
this.fetchAdvancedSearchResults(this.updatedAdvancedSearchText);
this.fetchAdvancedSearchResults([this.updatedAdvancedSearchText, idsToSend]);
} else {
this.fetchAdvancedSearchResults(this.advancedSearchTerm);
this.fetchAdvancedSearchResults([this.advancedSearchTerm, idsToSend]);
}
this.closeDialog();
//Clear search text field flag
Expand All @@ -378,6 +402,7 @@ <h1 class="page-title">Source: components/Records/Search/Input/AdvancedSearch/Ad
this.getAdvancedSearch["children"].length
) {
this.getAdvancedSearch["children"].forEach((item) => {
// TODO: Insert collection parameters here, just before operator.
this.queryString = "";
this.queryString += "(operator=";
this.queryString += item["operatorIdentifier"];
Expand Down Expand Up @@ -429,7 +454,6 @@ <h1 class="page-title">Source: components/Records/Search/Input/AdvancedSearch/Ad
}
}
},

/**
* Method to fetch/update the searchTerm
* @param {String} -- item
Expand Down Expand Up @@ -485,7 +509,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Thu Jul 17th 2025
on Fri Jul 18th 2025

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Loading