uq-eresearch / qldarch-frontend

MIT License
1 stars 1 forks source link

Articles tab uses solr search #159

Closed agebe closed 7 years ago

agebe commented 7 years ago

Clicking on the Articles tab on the Architects page returns id uris that are not working with the new webservices. Please use the new search api instead.

agebe commented 7 years ago

The articles are now in the search index.

cmcnamara87 commented 7 years ago

In your email you say use http://localhost:9000/ws/search?q=type:article&pretty&pc=1000, how do I search for articles about Richard Allom instead of just all articles?

cmcnamara87 commented 7 years ago

Got it working. Can you use camel case in the json?

  "periodicaltitle": "Architectural Design",

to

  "periodicalTitle": "Architectural Design",
agebe commented 7 years ago

changed field names to camel case also for the other fields and types.

agebe commented 7 years ago

it is working on the architects and projects page but on the firm page is seems to get stuck on the current tab and won't switch to the articles. I can't see any errors in the console.

cmcnamara87 commented 7 years ago

@agebe This articles tab loads fine for me

http://qldarch-test.metadata.net/beta/#/firm/articles?firmId=aHR0cDovL3FsZGFyY2gubmV0L3JkZi8yMDEyLTEyL3Jlc291cmNlcy9maXJtcy8x

Can you point to one in particular that wont load?

cmcnamara87 commented 7 years ago

Hmm actually, I'm not sure what is happening with that one. I'll have a look