BioKIC / NEON-Biorepository

Development base for the NEON Biorepository Data Portal host by BioKIC - Arizona State University (https://biorepo.neonscience.org)
GNU General Public License v2.0
2 stars 1 forks source link

elevlow and elevhigh not being included in search #369

Closed kyule closed 11 months ago

kyule commented 11 months ago

Although min and max elevation are in the search form, putting in parameters does not get translated into the search:

Eg the search pictured below yields all data not filtered by elevation

image

with the below results link that does not include the elevation parameters:

https://biorepo.neonscience.org/portal/collections/list.php?db=97%2C82%2C95%2C44%2C83%2C74%2C79%2C80%2C43%2C37%2C2%2C61%2C22%2C53%2C48%2C57%2C21%2C62%2C45%2C60%2C50%2C73%2C9%2C7%2C8%2C92%2C41%2C30%2C76%2C10%2C42%2C67%2C5%2C31%2C69%2C68%2C6%2C47%2C46%2C49%2C84%2C93%2C81%2C11%2C63%2C39%2C14%2C13%2C16%2C85%2C56%2C65%2C59%2C29%2C4%2C75%2C18%2C54%2C40%2C23%2C66%2C20%2C12%2C15%2C70%2C24%2C71%2C25%2C26%2C27%2C91%2C90%2C17%2C19%2C28&includeothercatnum=1&usethes=1&taxontype=1

The below link provides the expected results:

https://biorepo.neonscience.org/portal/collections/list.php?db=97%2C82%2C95%2C44%2C83%2C74%2C79%2C80%2C43%2C37%2C2%2C61%2C22%2C53%2C48%2C57%2C21%2C62%2C45%2C60%2C50%2C73%2C9%2C7%2C8%2C92%2C41%2C30%2C76%2C10%2C42%2C67%2C5%2C31%2C69%2C68%2C6%2C47%2C46%2C49%2C84%2C93%2C81%2C11%2C63%2C39%2C14%2C13%2C16%2C85%2C56%2C65%2C59%2C29%2C4%2C75%2C18%2C54%2C40%2C23%2C66%2C20%2C12%2C15%2C70%2C24%2C71%2C25%2C26%2C27%2C91%2C90%2C17%2C19%2C28&includeothercatnum=1&usethes=1&taxontype=1&elevlow=900&elevhigh=1000

egbot commented 11 months ago

Issue resolved: https://github.com/BioKIC/NEON-Biorepository/commit/a16e87ca987681ad3061ca7e79df25cbfbae7bfd