internetarchive / internetarchive/openlibrary

Sorting the "Search inside" tab by date published

Open
#10,084 3 comments 0 reactions 1 assignee Claimed by @el4ctr0n View on GitHub
Lead: @mekarpeles Needs: Breakdown Priority: 3 Type: Feature Request
Dominant language
Python
Stars
6.7k
Forks
2k
Avg merge
2d 19h
Merged PRs (30d)
138

Description

### Proposal

Dear developers,
Can you please make it possible to sort the search results in the "Search inside" tab by the date of publication (the "First Published" and "Most Recent" sorting options in the dropdown menu)?

![Sorting](https://github.com/user-attachments/assets/950965b4-4f6d-45d0-b27c-333d3b7eccc4)

![389641599-b6c8cc4d-3e42-4477-85e5-6f5cd64f6fd0](https://github.com/user-attachments/assets/80d91396-5502-4efb-acfd-22c566813b5c)

It would also be great if the search results in the "Search inside" tab included the year when the book was originally published, just like it's already included in the "Books" tab:
![FirstPublished](https://github.com/user-attachments/assets/e5d52e95-9d23-4098-8daa-cb4d49317634)

I appreciate you considering this feature request.

### Justification

### Breakdown

#### Requirements Checklist

* [ ]

#### Related files

*

#### Stakeholders

*


#### Instructions for Contributors

Please [run these commands](https://github.com/internetarchive/openlibrary/wiki/Git-Cheat-Sheet#working-on-your-branch) to ensure your repository is up to date **before** [creating a new branch](https://github.com/internetarchive/openlibrary/wiki/Git-Cheat-Sheet#making-changes-and-creating-a-pull-request) to work on this issue and **each time after** pushing code to Github, because the pre-commit bot may add commits to your PRs upstream.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.