app/concepts/boxroom/search/contract/files_and_folders.rb in boxroom-0.0.2 vs app/concepts/boxroom/search/contract/files_and_folders.rb in boxroom-0.0.3
- old
+ new
@@ -1,8 +1,10 @@
module Boxroom::Search::Contract
class FilesAndFolders < Reform::Form
property :term, virtual: true
property :folder_id, virtual: true
+ property :sort_field, virtual: true
+ property :sort_dir, virtual: true
validates :folder_id, presence: true
validates :term, length: {minimum: 3}
end
end
\ No newline at end of file