{"action":"created","issue":{"url":"https://api.github.com/repos/hbz/nwbib/issues/105","labels_url":"https://api.github.com/repos/hbz/nwbib/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/hbz/nwbib/issues/105/comments","events_url":"https://api.github.com/repos/hbz/nwbib/issues/105/events","html_url":"https://github.com/hbz/nwbib/issues/105","id":71220413,"number":105,"title":"Wrong links in single resource views","user":{"login":"acka47","id":160292,"avatar_url":"https://avatars.githubusercontent.com/u/160292?v=3","gravatar_id":"","url":"https://api.github.com/users/acka47","html_url":"https://github.com/acka47","followers_url":"https://api.github.com/users/acka47/followers","following_url":"https://api.github.com/users/acka47/following{/other_user}","gists_url":"https://api.github.com/users/acka47/gists{/gist_id}","starred_url":"https://api.github.com/users/acka47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acka47/subscriptions","organizations_url":"https://api.github.com/users/acka47/orgs","repos_url":"https://api.github.com/users/acka47/repos","events_url":"https://api.github.com/users/acka47/events{/privacy}","received_events_url":"https://api.github.com/users/acka47/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hbz/nwbib/labels/working","name":"working","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"fsteeg","id":128229,"avatar_url":"https://avatars.githubusercontent.com/u/128229?v=3","gravatar_id":"","url":"https://api.github.com/users/fsteeg","html_url":"https://github.com/fsteeg","followers_url":"https://api.github.com/users/fsteeg/followers","following_url":"https://api.github.com/users/fsteeg/following{/other_user}","gists_url":"https://api.github.com/users/fsteeg/gists{/gist_id}","starred_url":"https://api.github.com/users/fsteeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsteeg/subscriptions","organizations_url":"https://api.github.com/users/fsteeg/orgs","repos_url":"https://api.github.com/users/fsteeg/repos","events_url":"https://api.github.com/users/fsteeg/events{/privacy}","received_events_url":"https://api.github.com/users/fsteeg/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-04-27T08:41:19Z","updated_at":"2015-07-30T15:47:12Z","closed_at":null,"body":"All the links in a single resourc view are based on a generic `q` query. They have to be adjusted with regard to their location.\r\n\r\nExample: http://lobid.org/nwbib/HT018112985\r\n- Current link behind `Autor/in`: http://lobid.org/nwbib/search?q=%22http%3A%2F%2Fd-nb.info%2Fgnd%2F128586516%22\r\n- I should be the following: http://lobid.org/nwbib/search?person=http%3A%2F%2Fd-nb.info%2Fgnd%2F128586516 (Obviously, the phrase search doesn't work with `person` parameter.)\r\n- Current link behind `Schlagwort` \"Kreissparkasse <Köln>\": http://lobid.org/nwbib/search?q=%22http%3A%2F%2Fd-nb.info%2Fgnd%2F2001375-9%22\r\n- It should be: http://lobid.org/nwbib/search?subject=http%3A%2F%2Fd-nb.info%2Fgnd%2F2001375-9\r\n\r\nExample: http://lobid.org/nwbib/HT016531289 (where \"Kreissparkasse <Köln>\" is contributor instead of subject):\r\n- Behind `Mitwirkung` \"Kreissparkasse <Köln>\" should be the link http://lobid.org/nwbib/search?person=http%3A%2F%2Fd-nb.info%2Fgnd%2F2001375-9 (which currently doesn't work. Will open another issue for this one.)\r\n- Behind the `Schlagwort` links should be a query à la `http://lobid.org/nwbib/search?subject={URI}`."},"comment":{"url":"https://api.github.com/repos/hbz/nwbib/issues/comments/126375209","html_url":"https://github.com/hbz/nwbib/issues/105#issuecomment-126375209","issue_url":"https://api.github.com/repos/hbz/nwbib/issues/105","id":126375209,"user":{"login":"fsteeg","id":128229,"avatar_url":"https://avatars.githubusercontent.com/u/128229?v=3","gravatar_id":"","url":"https://api.github.com/users/fsteeg","html_url":"https://github.com/fsteeg","followers_url":"https://api.github.com/users/fsteeg/followers","following_url":"https://api.github.com/users/fsteeg/following{/other_user}","gists_url":"https://api.github.com/users/fsteeg/gists{/gist_id}","starred_url":"https://api.github.com/users/fsteeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsteeg/subscriptions","organizations_url":"https://api.github.com/users/fsteeg/orgs","repos_url":"https://api.github.com/users/fsteeg/repos","events_url":"https://api.github.com/users/fsteeg/events{/privacy}","received_events_url":"https://api.github.com/users/fsteeg/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T15:47:12Z","updated_at":"2015-07-30T15:47:12Z","body":"Deployed to staging, see your samples from above:\r\n\r\nhttp://test.lobid.org/nwbib/HT018112985\r\nhttp://test.lobid.org/nwbib/HT016531289\r\nhttp://test.lobid.org/nwbib/HT014318568\r\n\r\nThe search `param` to use is configured in the document template, see:\r\n\r\nhttps://github.com/hbz/nwbib/blob/master/app/views/tags/result_doc.scala.html#L42\r\n\r\n"}}