Skip to content

Incorrect sorting in call history search results #535

@naveensingh

Description

@naveensingh

Checklist

  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected app version

1.6.1

Affected Android/Custom ROM version

All versions

Affected device model

All devices

How did you install the app?

GitHub releases

Steps to reproduce the bug

  1. Call Alice Cooper
  2. Go to bed and on the next day, call Alice Smith
  3. Call Bob Aliston
  4. Type "Ali" in the call history search field

Expected behavior

Items are grouped by date, then sorted by matching keyword:

  • Today

    • Alice Smith
    • Bob Aliston
  • Yesterday

    • Alice Cooper

Actual behavior

Matching items show up first, and the date header is duplicated:

  • Today

    • Alice Smith
  • Yesterday

    • Alice Cooper
  • Today

    • Bob Aliston

Screenshots/Screen recordings

No response

Additional information

This is not exactly a bug, and some may prefer the current keyword-first behavior, but I'm "fixing" it.

Metadata

Metadata

Assignees

Labels

bugSomething is not working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions