home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 459621683

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association pull_request body repo type active_lock_reason performed_via_github_app reactions draft state_reason
459621683 MDU6SXNzdWU0NTk2MjE2ODM= 521 Easier way of creating custom row templates 9599 closed 0     6 2019-06-23T21:49:27Z 2019-07-03T03:23:56Z 2019-07-03T03:23:56Z OWNER  

I was messing around with a custom _rows_and_columns.html template and ended up with this: ```html {% for row in display_rows %}


{% for cell in row %} {% if cell.column == "First_Name" %}

{{ cell.value }} {% elif cell.column == "Last_Name" %} {{ cell.value }}

{% elif cell.column == "Short_Description" %}

{{ cell.column }}: {{ cell.value }}

{% else %} {{ cell.column }}: {{ cell.value }}    {% endif %} {% endfor %}

{% endfor %} This is nasty. I'd like to be able to do something like this instead: {% for row in display_rows %}

{{ row["First_Name"] }} {{ row["Last_Name"] }}

... ```

107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/521/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed

Links from other tables

  • 2 rows from issues_id in issues_labels
  • 6 rows from issue in issue_comments
Powered by Datasette · Queries took 1.094ms · About: github-to-sqlite