Skip to content

Fix href property on the query history UI#207

Open
okayhooni wants to merge 1 commit intolyft:masterfrom
okayhooni:fix/hyperlink_on_query_id_ui
Open

Fix href property on the query history UI#207
okayhooni wants to merge 1 commit intolyft:masterfrom
okayhooni:fix/hyperlink_on_query_id_ui

Conversation

@okayhooni
Copy link

Related to

Description

  • I think it is more simple fix for this issue, because QueryDetail object already has backendUrl field.
@Data
  @ToString
  class QueryDetail implements Comparable<QueryDetail> {
    private String queryId;
    private String queryText;
    private String user;
    private String source;
    private String backendUrl;
    private long captureTime;

    @Override
    public int compareTo(QueryDetail o) {
      if (this.captureTime < o.captureTime) {
        return 1;
      } else {
        return this.captureTime == o.captureTime ? 0 : -1;
      }
    }
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant