diff --git a/frontend/src/App.css b/frontend/src/App.css
index 26ca9cf..749534a 100644
--- a/frontend/src/App.css
+++ b/frontend/src/App.css
@@ -1796,6 +1796,40 @@ h5 {
text-underline-offset: 1px;
}
+ .IdForm{
+ font-size: 12px;
+ }
+ .selectedOperator {
+ background: white;
+ border: 1px solid rgb(143 147 196 / 61%);
+ /* border: 1px solid rgba(12, 16, 64, 0.606); */
+ font-size: 12px;
+ border-radius: 4px;
+ width: 33px;
+ height: 27px;
+ /* margin-right: 20px; */
+ box-shadow: 1px 2px 2px #cecece;
+ }
+ .ValueForm{
+ font-size: 12px;
+ }
+ #operator {
+ display: flex;
+ flex-direction: column;
+ align-content: center;
+ justify-content: center;
+ align-items: center;
+ /* margin-top: -40px; */
+ width: 46px;
+ }
+
+ .buttonsDiv {
+ margin-top: 7px;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-around;
+ height: 151px;
+ }
.crossQueriesTittle {
margin-bottom: 12px;
font-size: 12px;
@@ -2120,15 +2154,6 @@ h5 {
}
}
-@media (max-width: 700px) {
- .buttonsDiv {
- display: flex;
- flex-direction: column;
- justify-content: space-around;
- margin-top: 5px;
- height: 101px;
- }
-}
@media (max-width: 460px) {
.containerForm {
margin-left: 0px;
diff --git a/frontend/src/components/Biosamples/BiosamplesResults.js b/frontend/src/components/Biosamples/BiosamplesResults.js
index 0da1b32..efb2472 100644
--- a/frontend/src/components/Biosamples/BiosamplesResults.js
+++ b/frontend/src/components/Biosamples/BiosamplesResults.js
@@ -316,6 +316,8 @@ function BiosamplesResults (props) {
queryArray[index].push('!')
} else {
queryArray[index] = term.split('%')
+
+ queryArray[index][1] = '%' + queryArray[index][1] + '%'
console.log(queryArray[index])
queryArray[index].push('=')
}
@@ -330,7 +332,7 @@ function BiosamplesResults (props) {
if (queryArray[index][0].toLowerCase() === 'individual') {
alphanumericFilter = {
id: element.id,
- scope: ['individual']
+ scope: ['individuals']
}
} else if (
queryArray[index][0].toLowerCase() === 'genomicvariation'
@@ -466,17 +468,18 @@ function BiosamplesResults (props) {
datasetList.push(res2.data.response.collections)
}
- if (updatedArrayFilterVar.length === 0) {
+ if (updatedArrayFilterVar.length === 0 && props.isNetwork === true) {
res.data.responses.forEach(element => {
beaconsList.push(element)
})
+ } else if (updatedArrayFilterVar.length === 0 && props.isNetwork === false){
+ beaconsList.push(res.data.response)
}
let variablePause = false
if (props.query === null || props.query === '') {
// show all individuals
-
let jsonData1 = {}
if (arrayRequestParameters.length > 0) {
@@ -531,7 +534,10 @@ function BiosamplesResults (props) {
configData.API_URL + '/biosamples',
jsonData1
)
+ console.log(jsonData1)
+ console.log(res)
} else {
+
const headers = { Authorization: `Bearer ${token}` }
console.log('querying with token')
res = await axios.post(
@@ -722,6 +728,7 @@ function BiosamplesResults (props) {
}
setTriggerSubmit(true)
} else {
+
let jsonData2 = {}
variablePause = false
@@ -859,14 +866,17 @@ function BiosamplesResults (props) {
token = auth.userData.access_token
}
if (token === null) {
+ console.log(jsonData2)
console.log('Querying without token')
res = await axios.post(
configData.API_URL + '/biosamples',
jsonData2
)
+
+ console.log(res)
} else {
console.log('Querying WITH token')
-
+
const headers = { Authorization: `Bearer ${token}` }
res = await axios.post(
@@ -874,6 +884,8 @@ function BiosamplesResults (props) {
jsonData2,
{ headers: headers }
)
+ console.log(jsonData2)
+ console.log(res)
}
setTimeOut(true)
diff --git a/frontend/src/components/Dataset/BeaconInfo.css b/frontend/src/components/Dataset/BeaconInfo.css
index c582df9..9e324f7 100644
--- a/frontend/src/components/Dataset/BeaconInfo.css
+++ b/frontend/src/components/Dataset/BeaconInfo.css
@@ -375,10 +375,23 @@ p a:hover {
}
h5 {
- margin-top: 0px !important;
margin-bottom: 0px !important;
}
+h5 {
+ color: rgb(209, 66, 66);
+ font-weight: bold;
+ width: -moz-fit-content;
+ width: fit-content;
+ /* width: 150%; */
+ margin-top: 26px;
+ margin-left: 40vw;
+ display: flex;
+ /* align-items: center; */
+ justify-content: center;
+ font-size: 14px;
+}
+
.resultsRecord {
display: flex;
flex-direction: row;
diff --git a/frontend/src/components/Dataset/BeaconInfo.js b/frontend/src/components/Dataset/BeaconInfo.js
index 603e873..090221e 100644
--- a/frontend/src/components/Dataset/BeaconInfo.js
+++ b/frontend/src/components/Dataset/BeaconInfo.js
@@ -147,118 +147,122 @@ function BeaconInfo (props) {