Changeset 21587


Ignore:
Timestamp:
2010-01-22T19:19:55+13:00 (12 years ago)
Author:
ak19
Message:

Now when the preview button is pressed in FLI, the collection page on the Fedora Server is opened in the browser.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/gui/PreviewButton.java

    r20952 r21587  
    109109    }
    110110    // FLI or GLI for GS2 case (no library_url)
    111     preview_address = Configuration.library_url.toString() + "?c=" + collGroupWithName + "&l=" + Configuration.getLanguage();
     111    if(Configuration.fedora_info.isActive()) {
     112        preview_address = Configuration.library_url.toString() + "?pid=true&title=true&terms=&query=pid~greenstone:"+collGroupWithName+"*&maxResults=20";
     113        //+ "&l=" + Configuration.getLanguage();
     114    } else {
     115        preview_address = Configuration.library_url.toString() + "?c=" + collGroupWithName + "&l=" + Configuration.getLanguage();
     116    }
    112117
    113118    String main_args = "&a=p&p=about";
Note: See TracChangeset for help on using the changeset viewer.