UCLALibrary / ucla-prrla

1 stars 6 forks source link

The answer to one of questions in ReadMe is not clear #79

Open pghorpade opened 6 years ago

pghorpade commented 6 years ago

we need to update or change the script for the dynamically generated pages, eg Institution page, and browse by collection title/ institution page.

Please refer previous questions

Can you add more details which previous question or the no of the question?

pghorpade commented 6 years ago

Also another question

we want to add a new or change an existing search filter Just add new facet in Solr response. Filter will appear automatically.

Can you elaborate where does this happen in the code?

pghorpade commented 6 years ago

last question

we want to make edits to the parameters of the social media share features the urls of the items pages are really long, we'd like to explore other ways of forming those, so we need to understand what you are doing now - eg. http://prl.library.ucla.edu/detail/oai:ira.lib.polyu.edu.hk:10397%2F3036?s_page=1&s_filters=%7B%7D&s_therms=&s_order=

this is not answered.

saslv commented 6 years ago

we want to add a new or change an existing search filter Just add new facet in Solr response. Filter will appear automatically.

Can you elaborate where does this happen in the code?

This is in solr.service.ts at line 191 Service parses facet fields and generates filters based on facets.

we want to make edits to the parameters of the social media share features the urls of the items pages are really long, we'd like to explore other ways of forming those, so we need to understand what you are doing now - eg. http://prl.library.ucla.edu/detail/oai:ira.lib.polyu.edu.hk:10397%2F3036?s_page=1&s_filters=%7B%7D&s_therms=&s_order=

This s_* fields are used for breadcrumbs. We need to store somehow that params will be used at search page.

You can use URL without that params - then breadcrumbs will be hidden. http://prl.library.ucla.edu/detail/oai:ira.lib.polyu.edu.hk:10397%2F3036

Hlopec commented 6 years ago

we need to update or change the script for the dynamically generated pages, eg Institution page, and browse by collection title/ institution page.

Please, provide more deteils about this question.