Skip to content

Commit

Permalink
✔ Fansub 🎉 Anime & Dorama ✨ Order List ~
Browse files Browse the repository at this point in the history
  • Loading branch information
bifeldy committed Apr 23, 2023
1 parent 766210b commit 5c9a308
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/fansubid/browser/ngsw.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"configVersion": 1,
"timestamp": 1682235744741,
"timestamp": 1682258514450,
"index": "/index.html",
"assetGroups": [
{
Expand Down
2 changes: 1 addition & 1 deletion dist/fansubid/server/main.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/api/controllers/fansub-/fansub-anime.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ export class FansubAnimeController {
.leftJoinAndSelect('berkas.anime_', 'anime_')
.leftJoinAndSelect('berkas.fansub_', 'fansub_')
.where('fansub_.id IN (:...id)', { id: fansubId })
.andWhere('berkas.anime_ IS NOT NULL');
.andWhere('berkas.anime_ IS NOT NULL')
.orderBy('anime_.name', 'ASC');
if (fansubId.length === 1) {
fileRepoQuery = fileRepoQuery
.skip(queryPage > 0 ? (queryPage * queryRow - queryRow) : 0)
Expand Down
3 changes: 2 additions & 1 deletion src/api/controllers/fansub-/fansub-dorama.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ export class FansubDoramaController {
.leftJoinAndSelect('berkas.dorama_', 'dorama_')
.leftJoinAndSelect('berkas.fansub_', 'fansub_')
.where('fansub_.id IN (:...id)', { id: fansubId })
.andWhere('berkas.dorama_ IS NOT NULL');
.andWhere('berkas.dorama_ IS NOT NULL')
.orderBy('dorama_.name', 'ASC');
if (fansubId.length === 1) {
fileRepoQuery = fileRepoQuery
.skip(queryPage > 0 ? (queryPage * queryRow - queryRow) : 0)
Expand Down

0 comments on commit 5c9a308

Please sign in to comment.