Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#11893 closed Patch - Bug Fix (fixed)

Sorting by Season/Episode fails for series with seasons > 9

Reported by: OrcusMaximus@… Owned by: Karl Egly
Priority: minor Milestone: 0.26.2
Component: Plugin - MythWeb Version: 0.26
Severity: low Keywords:
Cc: Ticket locked: no

Description

Fix in includes/sorting.php

$ diff sorting.php sorting.php.orig

149,150c149,150 < $asep = sprintf("%02dx%03d", $a->season, $a->episode); < $bsep = sprintf("%02dx%03d", $b->season, $b->episode); ---

$asep = $a->season.'x'.str_pad($a->episode,2,"0",STR_PAD_LEFT); $bsep = $b->season.'x'.str_pad($b->episode,2,"0",STR_PAD_LEFT);

Change History (4)

comment:1 Changed 6 years ago by Karl Dietz <dekarl@…>

Resolution: fixed
Status: newclosed

In 86d4b489d5b633c5d92bc1adbc94ccc9485098e6/mythweb:

fix sorting by season/episode for seasons > 9 and episodes > 99

Patch by Steve Campbell, extended to cover "year as season" and series
with lots of episodes

Fixes #11893

comment:2 Changed 6 years ago by Karl Dietz <dekarl@…>

In 3829292163bcdc5bd8e4ff8140dba34002954adf/mythweb:

fix sorting by season/episode for seasons > 9 and episodes > 99

Patch by Steve Campbell, extended to cover "year as season" and series
with lots of episodes

Fixes #11893
(cherry picked from commit 86d4b489d5b633c5d92bc1adbc94ccc9485098e6)

comment:3 Changed 6 years ago by Karl Dietz <dekarl@…>

In cc2df0741e445c0bba4a202c51c0d6695970f6ce/mythweb:

fix sorting by season/episode for seasons > 9 and episodes > 99

Patch by Steve Campbell, extended to cover "year as season" and series
with lots of episodes

Fixes #11893
(cherry picked from commit 86d4b489d5b633c5d92bc1adbc94ccc9485098e6)

comment:4 Changed 6 years ago by Karl Egly

Milestone: unknown0.26.2
Owner: changed from Rob Smith to Karl Egly
Note: See TracTickets for help on using tickets.