Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • catfish catfish
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
  • Issues 44
    • Issues 44
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • AppsApps
  • catfishcatfish
  • Merge requests
  • !56

Create shared filetype lists for searching and filtering

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open newhoa requested to merge newhoa/catfish:issue-83-expand-documents-filter into master Dec 23, 2022
  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 4

@bluesabre, please let me know if there's a better way to go about this, if the file list should go somewhere else, if the imports are okay (import in both Window and SearchEngine?), or if this should be done in some different way. Thanks!


This creates a shared filetype list that both the Document filetype filter, and fulltext search can use. This way they stay in sync with any additions or changes.

The "text" list is used for both Documents filter and fulltext search (this is a list of text-searchable file mimetypes), and the "document" list is used for only the Document filter as these are text documents that are technically binary (pdf, docx, etc) and while they may only be searched using fulltext in some cases, they should always show when filtering documents.

Fixes #83

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: issue-83-expand-documents-filter