Skip to content

Commit

Permalink
Added type filter
Browse files Browse the repository at this point in the history
  • Loading branch information
ReStartQ committed Dec 13, 2023
1 parent 1efbf75 commit 756f141
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 41 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ You can download the app [here](https://github.com/ReStartQ/AniCour/releases). C

1. Download the setup file from the latest release and install it on your computer.
2. The setup file is labeled as AniCour-Setup-x.x.x.exe, where x denotes a number for the version.
<br/> **Ex**: AniCour-Setup-1.3.1.exe
<br/> **Ex**: AniCour-Setup-1.3.2.exe
<br /> **_Note: Some browsers may give a warning when you download this setup file as it does not have a code signing certificate._**
3. Use the app to track, search, and manage your anime, manga, and light novels.

Expand Down
89 changes: 52 additions & 37 deletions help/FilterAndSortList.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,61 @@
# Filter by list:
* Titles (Romaji, English, Native, and synonyms)
* Tags
* Genres
* Studios
* Seasons (can be the season, year or both)
* Status
* Source

**(Note: Some of these filters may crossover with each other. Ex: Studio/Producer: TV Tokyo and Type: TV)**

- Titles (Romaji, English, Native, and synonyms)
- Tags
- Genres
- Studios/Producers
- Seasons (can be the season, year or both)
- Status
- Source
- Type

# Sort by list:

## Anime List
* Status
* Title
* Episode Progress
* Score
* Type
* Season

- Status
- Title
- Episode Progress
- Score
- Type
- Season

## Manga List / Light Novel List
* Status
* Title
* Chapter Progress
* Volume Progress
* Score
* Season

- Status
- Title
- Chapter Progress
- Volume Progress
- Score
- Season

## Search

### Anime
* Status
* Title
* Episodes
* Score
* Type
* Season

- Status
- Title
- Episodes
- Score
- Type
- Season

### Manga / Light Novel
* Status
* Title
* Chapters
* Volumes
* Score
* Season

- Status
- Title
- Chapters
- Volumes
- Score
- Season

## Seasons
* Next Airing Time
* Status
* Title
* Episodes
* Score
* Popularity

- Next Airing Time
- Status
- Title
- Episodes
- Score
- Popularity
4 changes: 2 additions & 2 deletions release/app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion release/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "anicour",
"version": "1.3.1",
"version": "1.3.2",
"description": "Anime, Manga, and Light Novel Tracker Desktop Application for Windows. A fast and interactive way for AniList users to track and manage their anime/manga lists. ",
"license": "GPL-3.0",
"author": {
Expand Down
7 changes: 7 additions & 0 deletions src/renderer/functions/view/FilterFunctions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,13 @@ export const isFilteredTermOnList = (media: any, filter: any) => {
return true;
}
}
if (media.format !== null) {
if (
getFilteredTerm(media.format).includes(getFilteredTerm(filter)) // || getFilteredTerm(`type:${media.format}`).includes(getFilteredTerm(filter))
) {
return true;
}
}
return false;
};

Expand Down

0 comments on commit 756f141

Please sign in to comment.