Project

General

Profile

« Previous | Next » 

Revision 6738

add node name in the correct order for predicate navigation
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5561

View differences:

src/edu/ucsb/nceas/metacat/QueryTerm.java
489 489
            }
490 490

  
491 491
            nestedStmts.insert(0, "(SELECT nodeid FROM xml_nodes WHERE nodename LIKE ? ");
492
            parameterValues.add(node);
492
            parameterValues.add(0, node);
493 493
            
494 494
            // for the last statement: it is without " AND parentnodeid IN "
495 495
            if (!path.equals("")) {

Also available in: Unified diff