Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions api/src/org/labkey/api/study/assay/FileLinkDisplayColumn.java
Original file line number Diff line number Diff line change
Expand Up @@ -466,12 +466,12 @@ public Object getExportCompatibleValue(RenderContext ctx)
@Override
public boolean isFilterable()
{
return false;
return true;
}
@Override
public boolean isSortable()
{
return false;
return true;
}

}
3 changes: 3 additions & 0 deletions api/webapp/clientapi/ext3/FilterDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ LABKEY.FilterDialog = Ext.extend(Ext.Window, {
}

this.allowFacet = false;
if (this.column.inputType === 'file')
return this.allowFacet;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this.column.facetingBehaviorType has the default value of AUTOMATIC. Is there no good way to set it to ALWAYS_OFF? Then we wouldn't have to special case this. Looks like MutableColumnInfoWrapper has a setter method.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. I'll look into this approach instead.


switch (this.column.facetingBehaviorType) {

case 'ALWAYS_ON':
Expand Down