[Gmod-tripal-devel] bug in search biological data base theme

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Gmod-tripal-devel] bug in search biological data base theme

Nelson Nazzicari
the base "search data" page (usually on the /chado address) should list the active views, as much as it is done in the navigation menu. However there is a small bug in the logic (a TRUE instead of a FALSE) and the page ends up listing always all the views, even the disabled ones.

the file is .../sites/all/modules/tripal/tripal_views/theme/tripal_views_search_biological_content.tpl.php

and the bug is on line 13. I prepared the attached patch to fix it.

N.

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Gmod-tripal-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gmod-tripal-devel

fix_search_biological_data_theme.patch (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Gmod-tripal-devel] bug in search biological data base theme

Stephen Ficklin-2
Hi Nelson,

I have applied your patch and committed the code to the 7.x-2.x branch.

Thanks for noticing the bug and providing a patch!
Stephen

On 8/6/2014 10:01 AM, Nelson Nazzicari wrote:
the base "search data" page (usually on the /chado address) should list the active views, as much as it is done in the navigation menu. However there is a small bug in the logic (a TRUE instead of a FALSE) and the page ends up listing always all the views, even the disabled ones.

the file is .../sites/all/modules/tripal/tripal_views/theme/tripal_views_search_biological_content.tpl.php

and the bug is on line 13. I prepared the attached patch to fix it.

N.


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk


_______________________________________________
Gmod-tripal-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gmod-tripal-devel


------------------------------------------------------------------------------

_______________________________________________
Gmod-tripal-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gmod-tripal-devel