{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/tech-docs-gem/issues/59","repository_url":"https://api.github.com/repos/alphagov/tech-docs-gem","labels_url":"https://api.github.com/repos/alphagov/tech-docs-gem/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/tech-docs-gem/issues/59/comments","events_url":"https://api.github.com/repos/alphagov/tech-docs-gem/issues/59/events","html_url":"https://github.com/alphagov/tech-docs-gem/issues/59","id":383773741,"node_id":"MDU6SXNzdWUzODM3NzM3NDE=","number":59,"title":"Search linking to raw inputs not rendered page","user":{"login":"willp-bl","id":2528459,"node_id":"MDQ6VXNlcjI1Mjg0NTk=","avatar_url":"https://avatars0.githubusercontent.com/u/2528459?v=4","gravatar_id":"","url":"https://api.github.com/users/willp-bl","html_url":"https://github.com/willp-bl","followers_url":"https://api.github.com/users/willp-bl/followers","following_url":"https://api.github.com/users/willp-bl/following{/other_user}","gists_url":"https://api.github.com/users/willp-bl/gists{/gist_id}","starred_url":"https://api.github.com/users/willp-bl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willp-bl/subscriptions","organizations_url":"https://api.github.com/users/willp-bl/orgs","repos_url":"https://api.github.com/users/willp-bl/repos","events_url":"https://api.github.com/users/willp-bl/events{/privacy}","received_events_url":"https://api.github.com/users/willp-bl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-23T10:36:01Z","updated_at":"2018-11-23T11:20:44Z","closed_at":null,"author_association":"NONE","body":"[The GDS Way](https://gds-way.cloudapps.digital/) has just migrated to multi page view but search is not working.  \r\n\r\nWhen you use search the links are following the path of the raw markdown files and not the pages that are rendered and displayed. "},"comment":{"url":"https://api.github.com/repos/alphagov/tech-docs-gem/issues/comments/441216018","html_url":"https://github.com/alphagov/tech-docs-gem/issues/59#issuecomment-441216018","issue_url":"https://api.github.com/repos/alphagov/tech-docs-gem/issues/59","id":441216018,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTIxNjAxOA==","user":{"login":"bahmady","id":32935794,"node_id":"MDQ6VXNlcjMyOTM1Nzk0","avatar_url":"https://avatars0.githubusercontent.com/u/32935794?v=4","gravatar_id":"","url":"https://api.github.com/users/bahmady","html_url":"https://github.com/bahmady","followers_url":"https://api.github.com/users/bahmady/followers","following_url":"https://api.github.com/users/bahmady/following{/other_user}","gists_url":"https://api.github.com/users/bahmady/gists{/gist_id}","starred_url":"https://api.github.com/users/bahmady/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bahmady/subscriptions","organizations_url":"https://api.github.com/users/bahmady/orgs","repos_url":"https://api.github.com/users/bahmady/repos","events_url":"https://api.github.com/users/bahmady/events{/privacy}","received_events_url":"https://api.github.com/users/bahmady/received_events","type":"User","site_admin":false},"created_at":"2018-11-23T11:20:44Z","updated_at":"2018-11-23T11:20:44Z","author_association":"NONE","body":"If I understand the problem correctly this is (unfortunately) expected behaviour. \r\n\r\nFor example: if I search \"Secure a service\" at https://gds-way.cloudapps.digital/ then it comes up with 17 results including \"Secure your service\", which doesn't match the title it links to at https://gds-way.cloudapps.digital/ (which is \"How to secure a service\"). \r\n\r\nTo fix the specific problem for that specific search failure, I can only suggest changing this file:\r\n\r\n`<path>/gds-way/source/secure-services.html.md.erb` \r\n\r\nAt the moment in the `title` field it says: \"Secure your service\". That's where the search is getting it from. \r\n\r\nObviously the same \"fix\" would need to be applied across the whole thing. "}}
{"actor":{"display_login":"bahmady"}}