just a minor bug: Cotm doesn't redirect to most recent entry

A historical forum for issues reported in the suggestions and bugs forum that have been subsequently fixed or resolved.
Post Reply
User avatar
sidguppy
Posts: 3827
Joined: 18 Jan 2004, 12:26
My articles: 1
My images: 28
My aquaria list: 5 (i:0)
Spotted: 9
Location 1: Southern Netherlands near Belgium
Location 2: Noord Brabant, Netherlands
Interests: African catfishes and oddballs, Madagascar cichlids; stoner doom and heavy rock; old school choppers and riding them, fantasy novels, travelling and diving in the tropics and all things nature.
Contact:

just a minor bug: Cotm doesn't redirect to most recent entry

Post by sidguppy »

like the title

i can see on the homepage that this months Cotm is a corydoras species
but if i click omn that picture Pterosturisoma microps pops up
and the cory doesn't show up in the list either

its ptrobably just a tiny piece of code, mind
;)
Valar Morghulis
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 10 (i:8)
My BLogs: 4 (i:0, p:164)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: just a minor bug: Cotm doesn't redirect to most recent e

Post by MatsP »

Hmm, seems a bit strange. Since I changed this code not so long ago, I'll have a look when I get home.

--
Mats
User avatar
Jools
Expert
Posts: 16286
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 942
My catfish: 237
My cats species list: 88 (i:235, k:2)
My BLogs: 7 (i:10, p:167)
My Wishlist: 23
Spotted: 452
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: just a minor bug: Cotm doesn't redirect to most recent e

Post by Jools »

Good spot Sid. I've fixed it up.

The issue, Mats, is that the subject (not important in this) and the part field on the articles table isn't getting populated. I think the code might have "got lost" as it was (rather oddly) in the "forumised" pages - should be part of the admin function of adding an article in an ideal world. Those two fields should get populated, respectively, with "An in-depth article on Corydoras gracilis" and the integer of the month of the CotM. In this case 12. That integer drives the behaviour of the link on the front page and in the dropdown menus.

Jools
Post Reply

Return to “All Resolved Issues”