Changeset 10987 for trunk/gsdl


Ignore:
Timestamp:
2005-12-13T14:57:51+13:00 (18 years ago)
Author:
kjdon
Message:

fixed a bug where if you entered a document from an unknown classifier, then the classifier nav bar button didn't work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/documentaction.cpp

    r10873 r10987  
    380380
    381381   if (!use_pulldown) {
    382 
    383       navigationbar += "_navtabsearch_";
     382     navigationbar += "_navtabsearch_";
    384383      if (has_search_button) {
    385384     if (args["a"] == "q") {
     
    418417
    419418     is_top = ((*dochere).OID == topparent);
    420 
    421419     // set default text fragment
    422420     this_tab = "_navtab_(";
    423421
    424422     if (unknown) { // just give the field name
    425        if (!is_top) {
     423       if (!arg_d.empty() || !is_top) {
    426424         // work out the link for this classifier, as it isn't the
    427425         // current page
     
    429427           + date_extra;
    430428       }
    431        this_tab += "," + title + ",";
     429       this_tab += "," + title + "," + title + ",";
    432430     } else { // use the macro for this field so we get translations
    433431       this_tab += "_httpbrowse" + title;
Note: See TracChangeset for help on using the changeset viewer.