Thread:Robert Alvarez/@comment-25737724-20150427184906/@comment-25737724-20150530145200

Sweet mother of mercy, I think I about have it. However, I need to run this by you and get you to weight in on a decision. Don't worry about the display of month name, I can make it the month numbers instead if you want. So here's what it looks like and I have it working on volumes that have ended as well as an ongoing runs from what I've tested:



So first the decision. You are using passed in numbers in title box. I think we either use that as a primary, or change that code as well. What I'd recommend is we go ahead and use the passed in numbers to the Volume Template if they exist for this field as a primary. This way we can override if there is something wrong with this logic ever. Else, use this code which I now finally have working (I think). If we assume first issue is always 1, we can just hardcode that in. My concern is 0 issues, one-shots, and other 1/2 issues could throw this off. The other options is we would have to change the Comic Template to create a "First Issues" category like we have with "Last Issues" category. What do you want to do here, assume first issue is always "1" to grab the date from - OR - modify Comic Template to calculate this based on a category? There is concern with the comic template of course with users f'ing this up for 0 issues of if they don't know how we calculate it. I hate hardcoding a number in with "1", but frankly, it works here and I'm currently thinking that's the way to go. Just want your thoughts? Here's what I've coded, let me know if you have a better option.

,

For end:

,