Skip to content

Commit

Permalink
Update SpectrumMatchesController.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
elaboy committed Jan 3, 2024
1 parent 595890b commit a893c68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MetaPAL/Controllers/SpectrumMatchesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public async Task<IActionResult> ShowSearchForm()
public async Task<IActionResult> ShowSearchResults(string SearchPhrase)
{
return _context.SpectrumMatch != null ?
View(await _context.SpectrumMatch.Where(b => b.BaseSeq.Contains(SearchPhrase)).ToListAsync()) :
View(await _context.SpectrumMatch.Where(b => b.BaseSequence.Contains(SearchPhrase)).ToListAsync()) :
Problem("Entity set 'ApplicationDbContext.SpectrumMatch' is null.");
}
// GET: SpectrumMatches/Details/5
Expand Down

0 comments on commit a893c68

Please sign in to comment.