diff options
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | app/views/bazaar/index.html.erb | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1da26fd..5d2fe44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,8 @@ amenities, etc that are added unless they are special in some way. - Remaining duration of conditions and accumulated rested time are now expressed in "human" terms instead of seconds. - Blank line is now added to beginning of combat results instead of end, since it means more of the most-recent combat results can be visible when the box has a scroll bar. +- Bazaar no longer displays your orders under "Buy Orders" or "Sell Orders". Now your own orders are only visible + in the "Your Orders" section. - Character view: Reduced text size of headings. - Bazaar view: Reduced size (width) of number fields. diff --git a/app/views/bazaar/index.html.erb b/app/views/bazaar/index.html.erb index 2ee433c..e41fb2c 100644 --- a/app/views/bazaar/index.html.erb +++ b/app/views/bazaar/index.html.erb @@ -77,7 +77,7 @@ </tr> </thead> <tbody> - <% @bazaar_orders.where(buy_order: false).each do |bo| %> + <% @bazaar_orders.where(buy_order: false).where.not(character: current_char).each do |bo| %> <tr> <td class="table-cell-padded"><%= bo.item.name %></td> <td class="table-cell-padded"><%= bo.quantity %></td> @@ -109,7 +109,7 @@ </tr> </thead> <tbody> - <% @bazaar_orders.where(buy_order: true).each do |bo| %> + <% @bazaar_orders.where(buy_order: true).where.not(character: current_char).each do |bo| %> <tr> <td class="table-cell-padded"><%= bo.item.name %></td> <td class="table-cell-padded"><%= bo.quantity %></td> |