Skip to content

Commit

Permalink
Improved code and added CHANGELOG entry
Browse files Browse the repository at this point in the history
  • Loading branch information
oscargus committed Aug 6, 2016
1 parent 214d1a0 commit 3c47e07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
- [#1249](https://github.com/JabRef/jabref/issues/1249) Date layout formatter added
- Added ISBN integrity checker
- Added filter to not show selected integrity checks
- The information shown in the main table now resolves crossrefs and strings
- Enhance the entry customization dialog to give better visual feedback
- It is now possible to generate a new BIB database from the citations in an OpenOffice/LibreOffice document
- The arXiv fetcher now also supports free-text search queries
Expand Down
11 changes: 2 additions & 9 deletions src/main/java/net/sf/jabref/gui/maintable/MainTableColumn.java
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,9 @@ public Object getColumnValue(BibEntry entry) {
} else {
if (database.isPresent()) {
content = BibDatabase.getResolvedField(field, entry, database.get());
} else {
content = entry.getFieldOrAlias(field).orElse(null);
}
/*
Optional<String> newContent = entry.getFieldOrAlias(field);
if (newContent.isPresent()) {
if (database.isPresent() && "Author".equalsIgnoreCase(columnName)) {
content = database.get().resolveForStrings(newContent.get());
} else {
content = newContent.get();
}
}*/
}
if (content != null) {
break;
Expand Down

0 comments on commit 3c47e07

Please sign in to comment.