{"action":"created","issue":{"url":"https://api.github.com/repos/tabulate/tabulate/issues/30","repository_url":"https://api.github.com/repos/tabulate/tabulate","labels_url":"https://api.github.com/repos/tabulate/tabulate/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/tabulate/tabulate/issues/30/comments","events_url":"https://api.github.com/repos/tabulate/tabulate/issues/30/events","html_url":"https://github.com/tabulate/tabulate/issues/30","id":133286892,"number":30,"title":"Select a record not using the primary identifyer when using shortcodes.","user":{"login":"ThomasJ2015","id":17201800,"avatar_url":"https://avatars.githubusercontent.com/u/17201800?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasJ2015","html_url":"https://github.com/ThomasJ2015","followers_url":"https://api.github.com/users/ThomasJ2015/followers","following_url":"https://api.github.com/users/ThomasJ2015/following{/other_user}","gists_url":"https://api.github.com/users/ThomasJ2015/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasJ2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasJ2015/subscriptions","organizations_url":"https://api.github.com/users/ThomasJ2015/orgs","repos_url":"https://api.github.com/users/ThomasJ2015/repos","events_url":"https://api.github.com/users/ThomasJ2015/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasJ2015/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-12T16:42:56Z","updated_at":"2016-02-14T22:55:58Z","closed_at":"2016-02-14T22:55:58Z","body":"Could anyone please assist me in modifying the code in such a way that instead of selecting a record based on the primary identifier (which is passed as 'ident' in the shortcode) it can be used to select a record using a different identifier also passed using a short code.\r\nExample:\r\n`[tabulate format=record table=bookings ident=2]`\r\n Would return one value from the table bookings where the primary identifier is 2.\r\nGoal:\r\n`[tabulate format=record table=bookings ref=ref-142536]`\r\nAnd the goal would be for this to return the record that has the reference 'ref-142536'\r\nAny contributions would be greatly appreciated :)\r\n(Also first issues ever)\r\n"},"comment":{"url":"https://api.github.com/repos/tabulate/tabulate/issues/comments/183998284","html_url":"https://github.com/tabulate/tabulate/issues/30#issuecomment-183998284","issue_url":"https://api.github.com/repos/tabulate/tabulate/issues/30","id":183998284,"user":{"login":"samwilson","id":213655,"avatar_url":"https://avatars.githubusercontent.com/u/213655?v=3","gravatar_id":"","url":"https://api.github.com/users/samwilson","html_url":"https://github.com/samwilson","followers_url":"https://api.github.com/users/samwilson/followers","following_url":"https://api.github.com/users/samwilson/following{/other_user}","gists_url":"https://api.github.com/users/samwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/samwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samwilson/subscriptions","organizations_url":"https://api.github.com/users/samwilson/orgs","repos_url":"https://api.github.com/users/samwilson/repos","events_url":"https://api.github.com/users/samwilson/events{/privacy}","received_events_url":"https://api.github.com/users/samwilson/received_events","type":"User","site_admin":false},"created_at":"2016-02-14T22:55:58Z","updated_at":"2016-02-14T22:55:58Z","body":"No worries!\r\n\r\nDo raise more tickets for any future issues you may encounter. I'm keen to make Tabulate as good as possible."}}