Enable quokka with :module_directives rule
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
defmodule MusicLibrary.Collection do
|
||||
import Ecto.Query, warn: false
|
||||
import MusicLibrary.Records, only: [order_alphabetically: 0]
|
||||
|
||||
alias MusicLibrary.Records
|
||||
alias MusicLibrary.Records.{Record, SearchIndex}
|
||||
alias MusicLibrary.Repo
|
||||
|
||||
import MusicLibrary.Records, only: [order_alphabetically: 0]
|
||||
|
||||
def search_records(query, opts \\ []) do
|
||||
limit = Keyword.get(opts, :limit, 20)
|
||||
offset = Keyword.get(opts, :offset, 0)
|
||||
|
||||
Reference in New Issue
Block a user