Skip to content

feat(search): add ID search for media and playlists#197

Open
sreeshanth-soma wants to merge 1 commit intoopenbroadcaster:5.5-developfrom
sreeshanth-soma:add-search-by-id
Open

feat(search): add ID search for media and playlists#197
sreeshanth-soma wants to merge 1 commit intoopenbroadcaster:5.5-developfrom
sreeshanth-soma:add-search-by-id

Conversation

@sreeshanth-soma
Copy link

Summary

Closes #134
Adds the ability to search for media and playlists by their ID, making it easier to track down specific items when viewing playlogs or other reports that reference IDs.

Changes

Media Search

  • Added Media ID filter option to advanced search
  • Allows filtering with operators: is exactly, is not, greater than, less than, etc.

Playlist Search

  • Enhanced playlist search to match by ID when query is numeric
  • Searching "123" will now return the playlist with ID 123 (in addition to name/description matches)

Files Changed

  • classes/models/media_model.php - Added id to allowed filters and column mappings
  • classes/models/playlists_model.php - Added numeric ID matching to search function
  • public/html/sidebar/advanced_search.html - Added Media ID option to filter dropdown

- Add Media ID filter to advanced search
- Enable playlist search by numeric ID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant