Jun-18-2020, 05:43 AM
For a start, why are you doing two queries and then passing those two sets of results to the template? The ISBN will already be in
Also, why are you overcomplicating your routing? You don't need the variable route on line 2, since you're not varying the path in the URL.
result
, so you're just making life more complicated for yourself. If you tried it with only one query and got errors, for heaven's sake show us what those were.Also, why are you overcomplicating your routing? You don't need the variable route on line 2, since you're not varying the path in the URL.