AtlasOfLivingAustralia / spatial-hub

New spatial portal front end using AngularJS
https://spatial.ala.org.au/
7 stars 16 forks source link

Missing qid in threatened species in Interactive reports #413

Closed qifeng-bai closed 2 years ago

qifeng-bai commented 3 years ago

Describe the bug Missing QID in threatened species

To Reproduce Steps to reproduce the behavior:

  1. Go to 'interactive report'
  2. Move to '.Threatened species' 3.Hover up to 'View records'
  3. See : qid is missing in url

Correct link in Invasive Species https://biocache-test.ala.org.au/occurrences/search?q=qid:1626411803013&fq=species_list_uid:(dr947%20OR%20dr707%20OR%20dr945%20OR%20dr873%20OR%20dr872%20OR%20dr1105%20OR%20dr9884%20OR%20dr1787%20OR%20dr6957%20OR%20dr943%20OR%20dr4361%20OR%20dr877%20OR%20dr878%20OR%20dr1013%20OR%20dr879%20OR%20dr880%20OR%20dr881%20OR%20dr882%20OR%20dr883%20OR%20dr927%20OR%20dr823)

Incorrect link of threatened species https://biocache-test.ala.org.au/occurrences/search?q=&fq=species_list_uid:(dr7904%20OR%20dr649%20OR%20dr656%20OR%20dr650%20OR%20dr2285%20OR%20dr651%20OR%20dr652%20OR%20dr653%20OR%20dr654%20OR%20dr655%20OR%20dr2201)

qifeng-bai commented 2 years ago

Test: Go to 'interactive report' Move to '.Threatened species' 3.Hover up to 'View records' should see q=qid:xxxxxxx in url