tricolibraries / mobilecat

Automatically exported from code.google.com/p/mobilecat
GNU General Public License v3.0
0 stars 0 forks source link

no backlinks after request in non-js #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After making a request in non-js mode, screen says "item successfully 
requested."  Should also say "| back to item | back to search"

Original issue reported on code.google.com by anna...@gmail.com on 4 Nov 2010 at 1:41

GoogleCodeExporter commented 9 years ago
I'm not quite sure what's causing this, I can't recreate it in Albert (and 
can't test it in Tripod). 

The page in question is responses/request_success.html. This page should 
display the success note, then call include/backlink.html and 
include/backlink_search.html. These templates are passed over unless javascript 
is OFF and the respective bibid or searcharg are present. Related to this or 
not, I see that $search_arg isn't present on Requests made for single-result 
items on non-js sessions... Seems like a deliberate design decision?

Sounds to me like $js or $bibid/$search_arg aren't making it this far. Maybe 
try var_dump()'ing in request_submit_accept.php and .html. If you didn't know 
already, you can var_dump in Smarty too with {$VAR_NAME|var_dump}. $js should 
dump bool(true) or bool(false). Neither $js or $bibid should return NULL

Original comment by dmh4%stm...@gtempaccount.com on 4 Nov 2010 at 5:03

GoogleCodeExporter commented 9 years ago
Honestly, I can't recreate the error now either.  

A single result, when requested, leaves me with "back to item."  An item from a 
multi-result search behaves as expected after requested.

Closing issue for now.

Original comment by anna...@gmail.com on 2 Dec 2010 at 7:33