Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gbrowse accepts a "dbid" URL parameter, but gbrowse_details accepts "db_id" #21

Open
nathanweeks opened this issue Feb 8, 2013 · 0 comments
Assignees

Comments

@nathanweeks
Copy link
Member

gbrowse accepts a "dbid" URL parameter; however, gbrowse_details requires "db_id". To avoid confusion, it would be beneficial for gbrowse_details to also accept "dbid", while also accepting "db_id" for backward compatibility; e.g.:

--- cgi-bin/gbrowse_details.orig    2012-10-19 20:09:03.000000000 +0000
+++ cgi-bin/gbrowse_details 2013-02-08 21:35:56.275912837 +0000
@@ -131,7 +131,7 @@
     my $start = param('start');
     my $end   = param('end');
     my $f_id  = param('feature_id');
-    my $db_id = param('db_id');
+    my $db_id = param('dbid') || param('db_id');
     my $rmt   = param('remote');

     $self->state->{dbid} = $db_id if $db_id; # to search correct database
@ghost ghost assigned scottcain Nov 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants