Opened 11 years ago
Closed 11 years ago
Last modified 10 years ago
#8616 closed defect (fixed)
Mythweb: Upcoming recordings doesn't doesn't show record date value when sorting by something other than record date
Reported by: | Owned by: | Rob Smith | |
---|---|---|---|
Priority: | minor | Milestone: | 0.24 |
Component: | Plugin - MythWeb | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
If you sort by anything other than record date the upcoming recordings screen doesn't doesn't show the record date value.
Thanks! Doug
Change History (4)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
I was able to fix it by adding the below to the bottom of includes/translate.php:
// hook to load the translation Translate::find();
This works, because includes/init.php includes translate.php before config.php. So, by forcing the translate look up (and cache) before config.php is included we make sure that the date strings don't get unset.
Thanks!
Doug
comment:3 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 Changed 10 years ago by
Milestone: | unknown → 0.24 |
---|
Note: See
TracTickets for help on using
tickets.
It looks to me like the Translate class is unset'ing the _Session[] variables which causes the date string for record date to be lost. Consequently, when it's printed out to screen the string is null so it nothing is displayed. On the next hit, the session variable is set back and the string appears. On the next hit, the Translate class unsets it again and repeat.