Open emmajclegg opened 1 year ago
Thanks for raising, @emmajclegg
The reason they are Javascript functions is to remember all the state information; ie. which search queries and filters were used to get to this point.
They used to be proper <a href>
links but the Generator was opening multiple tabs so the href
attribute was dropped.
We agree that they should be reinstated but will need some time to figure out what's best for all conditions to be met.
Thanks @notshi - this feedback came via the IATI Support helpdesk. I'll keep an eye out for similar queries and signpost to the background here.
I get caught often by this and agree it would be good to reinstate / resolve. Great to see this issue!
Activities listed on d-portal (for a specific publisher, e.g. XM-DAC-3-1, or search query) are not treated as hyperlinks, so it is not possible to open activities in separate tabs from a right-click option.
The reason appears to be that links are defined as a JavaScript Function rather than through a \ tag in HTML, which browsers do not recognise as links (see screenshot below).
Having the links function as normal tags would help users avoid needing to navigate back to the overview page each time, losing where they were in the list.